Well, isn't that interesting. I'd be inclined to look at the job log in
the green-screen and read the second-level help for those messages. Maybe
for debug you need some additional authority?
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: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxxxxxxxx>
Date: 2019/08/13 01:26
Subject: [EXTERNAL] Re: [WDSCI-L] Debugging in RDi
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>
Thank for the reply Mike.
In answer to your questions;
What is selected in the call stack? It shows the correct service
program and procedure
Is the currently stopped thread what is selected? Yes
Are the debug icons lit up at the top of the Debug perspective? Yes
If you click the Resume icon (vertical yellow bar and green right-facing
triangle) does it continue? Momentarily then just stops.
Is the icon lit (active)? No
Let me try and provide more details;
Debug starts correctly and I can step my way through the program and
any/all program calls until it gets into the PHP Programs like
PLUGPASE.MBR
If I click resume the call stack now shows;
tmp [IBM i: Incoming Remote Debug Session]
Platform IBM i *UNKNOWN* Connection from mwcmp.msd.net.au:3825
Thread: 1 (running)
Process 541316/PHPUSER/XTOOLKIT Program ISSSRV002
In the joblog for that job there are errors; (I do not see these errors if
I am not in debug)
Attempt to use permanent system object QTEMDBSV without authority.
Attempt to use permanent system object QWTPECTL without authority.
Attempt to use permanent system object QTEVSIRF without authority.
Attempt to use permanent system object QTEVINVR without authority.
The Resume is greyed out.
The Suspend and Terminate and disconnect buttons are available
I have to click Terminate
What other info could I provide to assist in determining the cause.
Thank you
Don Brown
MSD Information Technology
Suite 5/29 McDougall Street Milton Q 4064
( 07 3368 7888
+ PO Box 1629 MILTON Q 4064
Ê 07 3368 7877
* Don.Brown@xxxxxxxxxx
È 0408 751 644
þ www.msd.net.au www.architect4web.com.au
I am a proud supporter of THE REFERRAL NETWORK and recommend the services
of the other member businesses. For more information please checkout the
website brisbanerefnet.com/
From: "Mike Hockings" <hockings@xxxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxxxxxxxx>
Date: 13/08/2019 11:33 AM
Subject: Re: [WDSCI-L] Debugging in RDi
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>
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=
--
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=DwIFAw&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=4aGZkWOp02gTINNk4klXERKl2qXsX2u0UKiCrfS8r3U&s=M8lzYopdIj8pfoZIm2IhmfVdU5lWeOS4xD0JgerKkpE&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=DwIFAw&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=4aGZkWOp02gTINNk4klXERKl2qXsX2u0UKiCrfS8r3U&s=iow5zwdKhTIfTQPF9uaZjrHzmk3aMybcJUiLWq5mpjI&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=DwIFAw&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=4aGZkWOp02gTINNk4klXERKl2qXsX2u0UKiCrfS8r3U&s=8jItGuoAqAxlBj9zLH_BKN9LLFN6FcWo_pztFKV-OpQ&e=
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
______________________________________________________________________
______________________________________________________________________
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=DwIFAw&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=4aGZkWOp02gTINNk4klXERKl2qXsX2u0UKiCrfS8r3U&s=M8lzYopdIj8pfoZIm2IhmfVdU5lWeOS4xD0JgerKkpE&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=DwIFAw&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=4aGZkWOp02gTINNk4klXERKl2qXsX2u0UKiCrfS8r3U&s=iow5zwdKhTIfTQPF9uaZjrHzmk3aMybcJUiLWq5mpjI&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=DwIFAw&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=4aGZkWOp02gTINNk4klXERKl2qXsX2u0UKiCrfS8r3U&s=8jItGuoAqAxlBj9zLH_BKN9LLFN6FcWo_pztFKV-OpQ&e=
As an Amazon Associate we earn from qualifying purchases.