When debuging a Batch one has to STRDBG and set a "SBREAK", at times my fellow Developers are debuging RPGLE service programs exposed as a webservice. At times this causes the website to "Hang" until the breakpoint is released.
Is there an IBMi API to retrieve a list of current service entry points (SBREAKs)?
Related Resources:
Proposed Listing should contain:
Registered Service Entry Points
For Active Break Points
Service jobs being debugged normally have the EVTW status. You can then look into this job's joblog and you may see messages that says this job is held/released by XXXXXXX user.
I would approach this problem using the QUSLJOB
to get a list of jobs with the EVTW status in the sub system you want to target and from there you could get to the job log and call stack entries to try and pro-grammatically determine who is debugging which programs.
You could also wrap the strdbg, enddbg, strsrvjob and endsrvjob commands in your own commands and record in a table who is actively debugging at the time.
Hope this gets you closer to a solution.