What is selected in the call stack? Is the currently stopped thread what
is selected? Are the debug icons lit up at the top of the Debug
perspective? If you click the Resume icon (vertical yellow bar and green
right-facing triangle) does it continue? Is the icon lit (active)?
Mike
Mike Hockings, M.Eng., P.Eng.
DevOps for Enterprise
IBM Developer for z Systems and Power Systems Software Technical Support
IBM Canada Ltd. Laboratory
hockings@xxxxxxxxxx
voice 1-905-413-3199 T/L 313-3199 ITN 23133199
From: Don Brown <DBrown@xxxxxxxxxx>
To: WDSCI-L <wdsci-l@xxxxxxxxxxxxxxxxxx>
Date: 2019/08/12 20:37
Subject: [EXTERNAL] [WDSCI-L] Debugging in RDi
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>
I am on version 9.6.0.6
I am debugging a service program that is called from PHP running on IBMi
I set a service entry point in a service program I want to debug.
I initiate the required process from the web page and RDi switches to the
Debug perspective and I am in the program I have set the SEP for.
All good so far.
I set a breakpoint on the line I want.
This is the ONLY breakpoint set.
I press F8 to resume and the program stops at my break point.
I use F5 to step through each statement and subsequent call. As other
programs are entered they are added to the debug perspective.
I now want to resume and press F8 but the program does not seem to resume.
I click into the program that the debug perspective tells me is active and
press F8 which seems to do something as I am repositioned in the source
but the program is not resuming.
In GS debug I have;
F10=Step
F12=Resume
F22=Step Into
I thought in RDi these were equivalent to;
F6=Step over (Same as GS F10)
F5=Step into (Same as GS F22)
F8=Resume (Same as GS F12)
Is this correct ??
I have not found any way to actually get the process to resume without
ending the SEP and commonly having to restart RDi.
I generally do not have these issues if debugging a non PHP initiated
program.
Any suggestions welcomed.
Thanks
Don Brown
______________________________________________________________________
This email has been scanned for computer viruses. Although MSD has taken
reasonable precautions to ensure no viruses are present in this email, MSD
cannot accept responsibility for any loss or damage arising from the use of
this email or attachments.
______________________________________________________________________
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=YyXHPaKEA8Mu95lhE7yCoJkUwYRWNAqeneFodpSG1j4&s=xkZFQOUfXPmQC-bXMnLPKGAQkrm74GKTwNYzOe8gcXA&e=
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=YyXHPaKEA8Mu95lhE7yCoJkUwYRWNAqeneFodpSG1j4&s=xzA62VfnNOKgTeTpAK9hbE0Y5Ldwrvtc8uTRpE6UpuM&e=
.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=YyXHPaKEA8Mu95lhE7yCoJkUwYRWNAqeneFodpSG1j4&s=N06ZiQ65_cVTqqrhQGqhVGKmd0KtMfnDeMUXJQoTpMM&e=
As an Amazon Associate we earn from qualifying purchases.