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



I'm trying to add a conditional breakpoint.

I've clicked right on the breakpoint, then modify, ignore the box that opens (next) then in expression I type : break 183 when Ccltno = 564703

I get the line no from the breakpoint view. When I click finish I get an error box with syntax error CPF7E15.

-----Message d'origine-----
De : wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] De la part de Adam Glauser
Envoyé : jeudi 8 novembre 2007 16:26
À : wdsci-l@xxxxxxxxxxxx
Objet : Re: [WDSCI-L] Migrating from STRDBG to debugging with SEP

David FOXWELL wrote:
I want to know how to set my breakpoints to be conditional ones when debugging in RPG.

1. Add a breakpoint
2. Right-click that line (or the choose the breakpoint in the breakpoints view), and choose Edit Breakpoint.
3. Click Next.
4. Enter the condition in the Expression textbox. Syntax is the same as green screen debug IIRC.
5. Click Finish.


And how do I get the thing to stop when a variable changes its value?

I think you actually have to be debugging to do this. Once the debug session is started, there are two ways to do it.

1. a) Right-click in the source, then 'Add watch breakpoint'.
b) Type the variable name if it's not there already
c) Put the %size() of the variable in the 'Number of bytes to watch'
dropdown.
d) Click Finish.

2. a) Right-click in the Breakpoints view
b) Select 'Add Breakpoint -> Watch'
c) Proceed from 1 b)


I'll add this to the wiki.

Hope this helps,
Adam
--
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-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.