|
Hold on, that wasn't quite accurate. I couldn't set the break point a varying field. But I can do it on a character field: D field s 50 D a c const('A') D i s 3 0 C for i = 1 by 1 to 50 C eval field = %trim(field) + a C endfor C eval *inlr = *on I set the breakpoint to: field = 'AAA' and the debugger stopped the program stopped as expected. First time through I had field defined like this: D field s 50 varying and I tried to debug it using STRDBG and I got the same error message. Phil --- Phil Groschwitz <sublime78ska@yahoo.com> wrote: > Diane, > > i = 3 > > This how I use it. > > But I tried it with a character field (haven't > needed > to do that yet) and then I got the error message. I > also had to restart everything - twice. Once after > pressing the help button and once after canceling > out > of the modify pane without clicking OK. The > debugger > just froze up. > > Phil > > > --- infosys5@amm.org wrote: > > This is a multipart message in MIME format. > > -- > > [ Picked text/plain from multipart/alternative ] > > Phil, > > > > Could you give me an exact example of an > expression > > used with the Code > > Debugger? I often use the "Break When" with > strdbg > > command and have no > > problems--but continually receive a syntax error > > with my expression > > statement while using the Code Debugger. > > > > Thanks, > > Diane Mueller > > > > > > > > > > > > Phil Groschwitz <sublime78ska@yahoo.com> > > Sent by: code400-l-admin@midrange.com > > 12/27/2001 07:03 AM > > Please respond to code400-l > > > > > > To: code400-l@midrange.com > > cc: > > Subject: Re: Debugger - How do you > > 'Break When'? > > > > > > Since this is the CODE list I assume you mean the > > distributed debugger not the ile debugger (STRDBG > > cmd). > > > > Here's how I do it - there may be better/other > ways. > > > > After setting a breakpoint, open up the > breakpoints > > tab. It's in the upper left pane but you may only > > see > > the Programs tab. If so, click the arrow button > to > > the right of the tab until you see the Breakpoints > > tab. Then right click on the breakpoint and > select > > Modify. If you have more than one breakpoint this > > is > > how I tell which one to modify: Left clicking > > causes > > the red dot to get overlaid with a green arrow. > > > > In the modify pane (which should open up once you > > selected modify) enter your expression in the > > Expression box. > > > > Phil > > > > --- David Wright <dwright@celsinc.com> wrote: > > > In ISDB I would set breakpoints to BREAK WHEN X > > *EQ > > > Y... > > > > > > How can I do that in the new Debugger? > > > > > > TIA, > > > David > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Send your FREE holiday greetings online! > > http://greetings.yahoo.com > > _______________________________________________ > > This is the CODE/400 Discussion & Support > > (CODE400-L) mailing list > > To post a message email: CODE400-L@midrange.com > > To subscribe, unsubscribe, or change list options, > > visit: > > > http://lists.midrange.com/cgi-bin/listinfo/code400-l > > or email: CODE400-L-request@midrange.com > > Before posting, please take a moment to review the > > archives > > at http://archive.midrange.com/code400-l. > > > > > > > > > > _______________________________________________ > > This is the CODE/400 Discussion & Support > > (CODE400-L) mailing list > > To post a message email: CODE400-L@midrange.com > > To subscribe, unsubscribe, or change list options, > > visit: > > > http://lists.midrange.com/cgi-bin/listinfo/code400-l > > or email: CODE400-L-request@midrange.com > > Before posting, please take a moment to review the > > archives > > at http://archive.midrange.com/code400-l. > > > > > __________________________________________________ > Do You Yahoo!? > Send your FREE holiday greetings online! > http://greetings.yahoo.com > _______________________________________________ > This is the CODE/400 Discussion & Support > (CODE400-L) mailing list > To post a message email: CODE400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: > http://lists.midrange.com/cgi-bin/listinfo/code400-l > or email: CODE400-L-request@midrange.com > Before posting, please take a moment to review the > archives > at http://archive.midrange.com/code400-l. > __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com
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.