× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Jon and Charles,

thanks for answering. Until now I'm out of luck.

Hovering the mouse over a global variable is not enough.

My colleague works as follows:
He passes a pointer to a procedure, than moves the pointer into another
pointer that points to a big global data structure.
Don't ask me why he is working in this way. This handling causes a never
ending trouble. Pointers to the wrong data structure, pointers are not
passed, global variables get changed by other exported procedures and with
the next call the wrong values are in the data structure.

I like the WDSC-Debugger because of the Service Entry Points that can be
used, which is quite helpful when debugging CGI/Web Programs.
In either way I'll continue to debug my programs (with either WDSc Debugger
or STRDBG).

Mit freundlichen Grüßen / Best regards

Birgitta Hauser

"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"

-----Ursprüngliche Nachricht-----
Von: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] Im
Auftrag von Jon Paris
Gesendet: Tuesday, 29. September 2009 13:38
An: rpg400-l@xxxxxxxxxxxx
Betreff: Re: WDSc / RDi Debugger and global variables?

Try using the call stack Birgitta. Usually in the upper left hand pane.

Highlight the stack level you want (in your case it should be one
above the subproc entry) and that should do it. I must admit that I
have never done it in quite the circumstances you describe (globals in
a subproc source) so I'm not sure it will work and haven't time to
test but ...

If that doesn't work, have you tried using the "hover" method for
viewing the variable? i.e. just position your mouse over the variable
name and leave it there - does that not show the value.

If neither of these work then it is PMR time!

P.S. This should really be on the WDSCi list if only to get the
attention of the developers who don't watch this one.


Jon Paris

www.Partner400.com
www.SystemiDeveloper.com



On 29-Sep-09, at 4:28 AM, rpg400-l-request@xxxxxxxxxxxx wrote:

Can someone point me into the right direction, i.e. describe me how
to see
the content of the global variables within the WDSC/RDi Debugger.
Or do I really have to go back to STRSRVJOB and STRDBG (which is quite
annoying if you have to debug CGI programs)?


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.