I have the same issue. Xuan's "clear all" option works for me when I need it, but these days I just remove the SEP before I change the source and recompile, and then re-add the SEP afterwards. That doesn't always work, so I revert to Xuan's suggested method after the SEP fails to stop the program.
I guess that the SEP is triggered using some kind of program ID that changes after a recompile (MD5 signature?) and maybe RDP can't forget the original program ID if the SEP is not removed before the ID changes. (Pure speculation.)
-Paul.
-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx [mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Paul Therrien
Sent: 20 November 2012 20:30
To: wdsci-l@xxxxxxxxxxxx
Subject: [WDSCI-L] RDP 8.5 and Service Entry points - reset of a program/debug
How do you get RDP Service Entry points to reset/restart once a program has been recompiled?
I have had a gnawing issue for a while...
1. Set a service entry point on a program
2. Run the program
3. Debug in RDP thanks to the service entry point until logic error is determined
4. Find code that needs to be changed and fix it.
5. Recompile the program
6. Refresh the service entry point (or even delete the service entry point and reset it)
7. Run the newly compiled version of the program
8. However ... I no longer can get the RDP debugger to kick in on the service entry point.
In this scenario, the only way I have been able to get the service entry point debugging to work is exit RDP and restart.
There must be a better way.
Can anyone have any offer any tips for this?
Paul Therrien
Orion South, Inc.
504-374-9551
800-437-7173; Ext. 551
ptherrien@xxxxxxxxxxxxxxx<mailto:ptherrien@xxxxxxxxxxxxxxx>
--
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@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.
Scanned by MailDefender - managed email security from intY - www.maildefender.net
Important, this email transmission and any files with it are strictly confidential to the intended recipient and may be legally privileged. Any views or opinions presented are solely those of the author and do not necessarily represent those of BHSF. If you are not the intended recipient, you must not copy, disclose or distribute its contents in any way. If you have received this e-mail in error, please notify the sender and delete the e-mail from your system.
We have taken steps to ensure this email and attachments are free from any virus but do not accept any responsibility once this e-mail has been transmitted. You should scan any attachments for viruses. No contract may be concluded on behalf of BHSF Limited by e-mail.
Registered Office: BHSF Limited, Gamgee House, 2 Darnley Road, Birmingham, B16 8TE. www.bhsf.co.uk Registered in England number 35500. BHSF is authorised and regulated by the Financial Services Authority.
As an Amazon Associate we earn from qualifying purchases.