Costin,

XDC has a very simple to use HOOK command... Start an authorized debugging session (within either TSO or the batch), determine the storage address at which you want your SVC's execution to be trapped, and simply issue "HOOK addressexpression". The next time execution passes through that location, it's execution will be intercepted, and a debugging session will either start or resume.)

There are caveats. For one thing, XDC itself uses many System SVCs, so debugging within those either needs to be avoided or done with considerable care and knowledge of the execution paths various circumstances will cause said SVC to take. (Best to do this in a sandbox in any case.)

Dave



At 7/20/2012 12:17 PM, Costin Enache wrote:
Dave,

I guess I will give it a try. I see you offer trial installs, so I will get in touch privately. Do you have any pointers in the existing online documentation as to see how the exact hooking into system SVCs can be performed with z/XDC ?

Thanks
Costin



________________________________
 From: David Cole <dbc...@colesoft.com>
To: IBM-MAIN@LISTSERV.UA.EDU
Sent: Friday, July 20, 2012 5:11 PM
Subject: Re: Debug SVC (and pretty much anything else with z/XDC)

Tom,

z/XDC can be used to debug many System SVCs as well as any/all user
SVCs. It also can be used to debug PC routines (all types and
environments) and SRB routines, system and product exit routines, and
pretty much anything else that runs in z/OS.

Dave

At 7/20/2012 09:39 AM, Tom Harper wrote:
>The best way is to run under z/VM. Set all processors off line
>except for one, and you can step through the code. I'm never used
>z/XDC to debug an SVC. It would be interesting to hear what Dave
>Cole has to say.
>
>Tom
>
>----- Original Message -----
>>From: McKown, John [mailto:john.mck...@healthmarkets.com]
>>Sent: Friday, July 20, 2012 09:32 AM
>>To: IBM-MAIN@LISTSERV.UA.EDU <IBM-MAIN@LISTSERV.UA.EDU>
>>Subject: Re: Debug SVC
>>
>>You really need a special class of debugger for SVC and other
>>"system level" functions, such a PC code and SRB code. Many seem to
>>love z/XDC from ColeSoft. I have no experience with it. I am doing
>>some testing of another product, but I don't think it's available
>>yet. So I won't mention the name.
>>
>>--
>>John McKown
>>Systems Engineer IV
>>IT
>>
>>Administrative Services Group
>>HealthMarkets(r)
>>9151 Boulevard 26 * N. Richland Hills * TX 76010
>>(817) 255-3225 phone *
>>john.mck...@healthmarkets.com * www.HealthMarkets.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Dave Cole              REPLY TO: dbc...@colesoft.com
ColeSoft Marketing     WEB PAGE: http://www.colesoft.com
736 Fox Hollow Road    VOICE:    540-456-8536
Afton, VA 22920 FAX: 540-456-6658
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to