MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Debug tool under Eclipse

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
misi01
Advanced


Joined: 02 Dec 2002
Posts: 616
Topics: 171
Location: Stockholm, Sweden

PostPosted: Mon Apr 24, 2017 1:53 pm    Post subject: Debug tool under Eclipse Reply with quote

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).

Thanks you
_________________
Michael
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12357
Topics: 75
Location: San Jose

PostPosted: Mon Apr 24, 2017 2:36 pm    Post subject: Re: Debug tool under Eclipse Reply with quote

misi01 wrote:
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 think you need to read debug tool : Reference Summary Manual.

Here is the link to the manuals

https://www-01.ibm.com/software/awdtools/debugtool/library/

misi01 wrote:

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

www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
misi01
Advanced


Joined: 02 Dec 2002
Posts: 616
Topics: 171
Location: Stockholm, Sweden

PostPosted: Fri May 05, 2017 4:51 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group