× 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.



Answer to 1:  Basically I would like it to operate like Java IDE Debuggers
do - you can see _all_ objects that are 'open' to the current context, and
it will allow you to not show global variables, private variables, etc.  Or
if I could just do a double click and have the variable monitored that would
be great.

A base reason for going into debug is because you want to see how the
program is working any why you aren't getting your expected data, so it is
very important, IMO, to have easy and timeless access to your variables.

Answer to 2:  In the lpex editor it color codes If,DoW,EndIf, etc.  When I
debug it shows the source listing without the aforementioned color coding.

Answer to 3:  Run the code that I sent in my previous post and take out the
references to the service programs, only leaving in the references to the
qualified data structures.  Try to monitor the different fields within the
qualified data structures and the top level data structure themselves.  You
will see what I mean.

Let me know if I haven't explained myself good enough,
Aaron Bartell

-----Original Message-----
From: Vadim Berestetsky [mailto:berestet@xxxxxxxxxx]
Sent: Monday, June 02, 2003 5:48 PM
To: Websphere Development Studio Client for iSeries
Subject: Re: [WDSCI-L] Debugger and Variables(Monitor)


Hi Aaron,

Let me try to tackle those points one by one...
1) I am curious what it is that you are looking for as far as variables
monitoring goes.
Seems to me you are doing RPG. So, are you looking to view all 'local'
variables in a
single window? Or would you like to view all variables in scope (including
global) in a
single window? Are you willing to pay the price of monitoring that many
variables at the
same time?
I hinted in my earlier note that we are looking to support local variables
for RPG...

2) Not exactly sure what you mean by saying that color coding have been
lost. As far
as I know, executable lines should be in a different color from
non-executable. If this is
not the case, could you please send me screen capture to my e-mail address.
I'd like to
see exactly what it looks like.

3) I will look into this, but I wonder if you can at least reference
individual
fields within the data structure?

Thanks,
Vadim Berestetsky
Debugger Development
Internet:  berestet@xxxxxxxxxx



 

                      "Bartell, Aaron

                      L. (TC)"                 To:       "'Websphere
Development Studio Client for iSeries'" <wdsci-l@xxxxxxxxxxxx>     
                      <ALBartell@xxxxxx        cc:

                      corp.com>                Subject:  [WDSCI-L] Debugger
and Variables(Monitor)                                      
                      Sent by:

                      wdsci-l-bounces@x

                      idrange.com

 

 

                      06/02/2003 12:26

                      PM

                      Please respond to

                      Websphere

                      Development

                      Studio Client for

                      iSeries

 

 





I just started using the debugger (5.0) today and have some
questions/statements.  It would be nice if I didn't have to select each
variable that I wanted to see, but instead have it load the Monitor window
with a list of the current variables in the program.  More often then not I
want to view many variables and not few variables.  Is there a setting
somewhere that can be changed?

The color coding seems to have been lost because the code listing is being
used. . . I didn't use the CODE debugger that much , but I am pretty sure
that the code was colored while debugging.  Takes me back to my green
screen
days where every color is the same - makes the debug hard to read.

And finally, if I define a data structure as 'address' and there is a field
called 'address' within another data structure, I am unable to Monitor the
content of the data structure because it gives me this error: 'Host:
CPF7E56
Identifier is ambiguous'.  It does this within STRDBG also. . .  Here is
the
code:

      /Copy QSource,UsrSpcPr



     D lib             S             10A   Inz('AARONLIB')

     D space           S             10A   Inz('TESTUSRSPC')

     D i               S             10I 0



     D email           DS                  Qualified

     D  address                      25A

     D  name                         25A



     D address         DS                  Qualified

     D  name                         10A

     D  adr1                         10A

     D  adr2                         10A

     D  city                         10A

     D  state                        10A

     D  zipCode                      10A



      /Free

       new_UsrSpc(lib: space);



       email.address = 'albartell@xxxxxxxxxxxxxx';

       email.name = 'Aaron Bartell';

       addEntry_UsrSpc(lib: space: 'Email': %Size(email): email);



       email.address = 'happy@xxxxxxx';

       email.name = 'Happy You';

       addEntry_UsrSpc(lib: space: 'Email': %Size(email): email);



       email.address = 'Lloyd@xxxxxxxxxx';

       email.name = 'Lloyd Lumber';

       addEntry_UsrSpc(lib: space: 'Email': %Size(email): email);



       address.name = 'Jim Carey';

       address.adr1 = '113 Bye';

       address.city = 'Mankato';

       address.state = 'MN';

       address.zipCode = '56001';

       addEntry_UsrSpc(lib: space: 'Cust Address': %Size(address):
address);

       address = ' ';



       For i = 1 To 3 By 1;

         email = getEntry_UsrSpc(lib: space: i);

       EndFor;



       address = getEntry_UsrSpc(lib: space: 4);

       delete_UsrSpc(lib: space);



       *InLR = *On;



      /End-Free
_______________________________________________
This is the Websphere Development Studio Client for iSeries  (WDSCI-L)
mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.



_______________________________________________
This is the Websphere Development Studio Client for iSeries  (WDSCI-L)
mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.