Joined: 02 Dec 2002 Posts: 616 Topics: 171 Location: Stockholm, Sweden
Posted: Mon Apr 24, 2017 1:53 pm Post subject: Debug tool under Eclipse
Does anyone have any experience of using DT (at our installation, it's called PDTS; Problem Determination something something).
I'm reading the User Guide but it's difficult to see the wood for the trees.
I have a couple of simple questions I'll append here.
1 Assuming I have a whole chain of multiple programs calling each other (A calls B, calls C etc, and SOMEWHERE, we enter program M). How do I set an intercept so that as soon as we enter M, we have the equivalent of a breakpoint (the equivalent of doing an INTERCEPT M in Xpediter)
2 I'm debugging, and I'm on line 100 in the first program (A). I then start scrolling up and down in the code. What is the default PF-key to place focus BACK on line 100 again (yes, I know I could press the Step Into key, but that would take me PAST line 100).
1 Assuming I have a whole chain of multiple programs calling each other (A calls B, calls C etc, and SOMEWHERE, we enter program M). How do I set an intercept so that as soon as we enter M, we have the equivalent of a breakpoint (the equivalent of doing an INTERCEPT M in Xpediter)
Probably AT LOAD <module name> ???
misi01 wrote:
2 I'm debugging, and I'm on line 100 in the first program (A). I then start scrolling up and down in the code. What is the default PF-key to place focus BACK on line 100 again (yes, I know I could press the Step Into key, but that would take me PAST line 100).
Thanks you
May be SCROLL command? _________________ Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
Joined: 02 Dec 2002 Posts: 616 Topics: 171 Location: Stockholm, Sweden
Posted: Fri May 05, 2017 4:51 am Post subject:
Thought I'd append the answer I was looking for.
Where I'm working at the moment, the customization panel looks like this (option 6, with the heading Edit TEST Run-time Option Data Set)
you have 2 fields called Commands file and Preference file.
In the commands file, I would imagine you place "global" commands for all debug sessions. The example we have (so far) contains
Quote:
SET AUTOMONITOR ON
and the preference file contains debug commands for the current session/program, for example
Quote:
DELAY DEBUG VNOMB30
DELAY DEBUG GDHR201A
I'm sure there are loads of other, useful commands that could be relevant, but let's start walking before we run. _________________ Michael
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum