|
Li, I would second Joe's suggestion of having a way to view global variables. I really like the debugger but it is very frustrating when I am in a subprocedure and need to refer back to a global value but it's missing from the variables window. I find myself adding a lot of variables to the monitors view to get around the problem. Rick
-----Original Message----- From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Li Ding Sent: Saturday, July 15, 2006 12:19 PM To: wdsci-l@xxxxxxxxxxxx Subject: Re: [WDSCI-L] Subroutine Variables in Debug This is current design. It happens for the subroutine in main procedure. Variables view displays the local variables in current scope. Subroutine does not define local variables. Instead of showing nothing, debugger displays the local variables of the enclosing subprocedure. However, the subroutine in main procudure is processed differently and no variable is displayed. There is inconsistent behavior here, for subroutine in main procedure and other subprocesures. We definitely welcome community's feedback for the behavior. Thanks, Li Ding iSeries AD, IBM Toronto Lab Email: lding@xxxxxxxxxx Phone: (905) 413-4393, T/L: 969-4393, Fax: (905) 413-4850 Internal Mail Address: D1/Dept.089/8200/MKM
Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.
As an Amazon Associate we earn from qualifying purchases.
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.