Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

debugging 1

Status
Not open for further replies.

claudeb

Programmer
Nov 23, 2000
140
CA
hi,
i have a problem with my program at the offset 7fff50e0 at address 81a32450. i don't know how to find this address or the offset on my program listing.please help.thanks.
claudeb
 
Hi,

on what system are you working? Usualy in the program listing there is a reference with the relative addresses of the instructions within you program. You have to know the start in memory of your program at the moment of abend, subtract this from the abend address and than you find the relative address whithin you program. In the listing there is a list of statements. Find the highest address lower than the relative abend address. There starts the instruction which causes the problem. I like to find this list on the IBM mainframe by giving the find command in ISPF: FIND MOVE WORD LAST
Then I am usualy in the statement list with offsets.

Don't you have a debugger? Or something like abend-aid? An other way to solve problems is to incoorporate displays on many lines to know where something is happening. You can use the 'D' on column 7 and use the debugging mode of the compiler to let these statements have effect.

Good Luck!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top