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 Confidentiality Notice: This e-mail message may contain confidential or proprietary information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. HealthMarkets(r) is the brand name for products underwritten and issued by the insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance Company(r), Mid-West National Life Insurance Company of TennesseeSM and The MEGA Life and Health Insurance Company.SM > -----Original Message----- > From: IBM Mainframe Discussion List > [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Costin Enache > Sent: Friday, July 20, 2012 3:29 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Debug SVC > > Hi, > Please assist a poor soul into finding a way to debug SVC > (supervisor call > interrupt) handlers. I am still learning HLASM and debugging > stuff on 390, so I > am not really aware of the tools, hooks, methods and concepts > available. So far > I have managed to get ASMIDF running nicely, relinked with AC=1, > APF-authorized, so as far as normal programs are concerned I > can trace and > inspect execution nicely. What I need is a way to follow-up > on SVC calls, a way > to hook into the handler and examine the execution of the call. > I use a test/development zPDT z/OS 1.11 system, I can mess > with it, kill it, > etc. The real hardware is also around, but I am not that keen > to kill that. > Thanks! > Costin > > ---------------------------------------------------------------------- > 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN