I am able to set SEP and set a conditional breakpoint on a line of code. But the job always jumps into debug the instant it starts.
I hit F8 or click run... then it will break into the job when the condition is met.
Or am I not understanding? Is there a way to have the SEP not jump into debug until the condition is met?
Greg
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of David Gibbs via WDSCI-L
Sent: Tuesday, July 15, 2025 2:39 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
Cc: David Gibbs <david@xxxxxxxxxxxx>
Subject: [EXTERNAL] [WDSCI-L] Service entry point debug with condition
Folks:
Does anyone work with SEP debug with conditions?
I'm trying to debug an RPG program, invoked from the web server, but
only if a specific entry parameter has a specific value.
If I set the condition for the SEP to "i_req.sessionid = 'dmgtest'",
the job hangs ... but never enters debug.
It appears that the job is TRYING to enter debug, as the call stack
shows 'QTESEPEH' as the last entry (immediately after the program I'm
trying to debug), but it never gets any farther.
After that, even if I remove the SEP condition, the program won't
enter debug until I shut down RDi and re-launch it.
Any suggestions?
David
--
IBM i on Power Systems: For when you can't afford to be out of business!
I'm riding in the American Diabetes Association's Tour de Cure to
raise money for diabetes research, education, advocacy, and awareness.
You can make a tax-deductible donation to my ride by visiting
https://mideml.diabetessucks.net.
I may have diabetes, but diabetes doesn't have me!
--
This is the Rational Developer for IBM i (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://archive.midrange.com/wdsci-l.
[CAUTION! This email originated outside of the organization. Please do not open attachments or click links from an unknown or suspicious origin.]
Greg Wilburn
Director of IT
301.895.3792 ext. 1231
As an Amazon Associate we earn from qualifying purchases.