|
INFO: IBM i System Debugger not stopping on breakpoints
=======================================================
This is a post inspired by two past posts which did not find a correct solution:
"ACS System Debugger doesn't want to work" https://archive.midrange.com/midrange-l/202210/msg00244.html
and
"System Debugger" https://archive.midrange.com/midrange-l/202306/msg00321.html
Both posts describe the problem that System Debugger wouldn't stop on breakpoints (with the breakpoints briefly flashing in yellow).
I also observed this, on a local V7.2 system and on PUB400 V7.5
This applies also to debugging option "Debug existing job on system" even if this is one of your jobs (at least on PUB400).
Quick Answer:
-------------
The debugging user needs *JOBCTL special rights for this to work.
This applies to debugging option "Submit and debug program in batch job"
[cut]
N.B.:
PUB400 won't allow *JOBCTL - for a good reason, see below - so this won't work until (hopefully) IBM fixes this.
5) Is there justification to issue a PMR?
I think there would be. It is not acceptable to require *JOBCTL special rights for a programmer to be able to
use System Debugger. *JOBCTL special right would enable him to - even inadvertantly - cancel a job other
than his own on the system. It is not necessary either - STRSRVJOB + STRDBG don't need it either.
I can't be asking to change the beahaviour of MATPRATR of course, but nonetheless, the requirement for *JOBCTL
special authority for debugging seems overdrawn to me.
I am, however, pessimistic about IBM to be willing to alter the debugger to use threads internally
(which would be the best solution, satisfying MATPRATR requirements; and I personally can't see any technical hindrances to that);
But then again, what does QTESDBGSVR need MATPRATR for in the first place? Maybe QTESDBGSVR's internal requirement for
MATPRATR can be avoided?
The way I know IBM these days, I believe they would staunchly promise to correct documentation for System Debugger
to require *JOBCTL special authority. Oh well ...
Concluding with mixed feelings -
Wilhelm Stanzl
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.