Set a break point at the where a procedure out of the module you want do
debug is called.
I you reach the break point simply press F22 and you are in the module.
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"
-----Ursprüngliche Nachricht-----
Von: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] Im Auftrag von Rich Loeber
Gesendet: Wednesday, 02. November 2011 19:36
An: Midrange Systems Technical Discussion
Betreff: Source Debugging a Module
I have an ILE program that is made up of several modules bound together
with a CRTPGM command. I'd like to run the source level debugger on a
program other than the main program. I have recompiled the module and
run
the UPDPGM to replace it in the *PGM object, but the STRDBG does not seem
to want to let me "watch" when the main program calls the module. I can
get the main program to work, but not the subprogram.
What am I missing?
I tried the F14 option key to add source level on the module, but still
no
go.
Been a long time since I needed to do this. I don't recall it being such
an issue before.
Rich Loeber - @richloeber
Kisco Information Systems
[1]
http://www.kisco.com
SDG
References
Visible links
1.
http://www.kisco.com/
As an Amazon Associate we earn from qualifying purchases.