Note 573128 - Debugging programs in the background
Symptom
How can you debug a program that runs in the background?
Other terms
Background, job
Reason and Prerequisites
Information about troubleshooting
Solution
There are three options:
*1. Select a job in transaction SM37 (2nd screen). In addition, set a breakpoint at the point in the source code that you want to analyze when debugging. In SM37, enter JDBG in the OK code field, and choose ENTER. The selected job is now started in debug mode, and the debugger initially stops in a system program. Choose F8 to continue the job up to the next breakpoint.
Caution: Although the job still appears in SM37 in the previous status after debugging, the entire job (or, more specifically, a copy of it) has run during debugging and possible database changes are effective as a result of the job.
2. You can catch a current background job by using SM37 (Catch active job) or SM50 (Debug program). To do this, you must be logged on to the instance on which the job is running. The job is then stopped, and you can keep it running in the debugger.
3. Use SM36 to create a job with two steps, step 1 with the BTCLOOP report and step 2 with the report to be debugged. Then, set a breakpoint in the step 2 report and release the job.
You can then debug the job in transaction SM50. To do this, exit the endless loop in the BTCLOOP report by changing the variable i.
分享到:
相关推荐
dnspy所需的mono.dll
dnspy所需要的mono.dll
ug908-vivado-programming-debugging.pdf
Unity-debugging-4.x Unity-debugging-5.x Unity-debugging-2017.x Unity-debugging-2018.x Unity-debugging-2019.x
Xilinx用户指南,ug908-vivado-programming-debugging
反编译工具 Unity-debugging-4.x.zip
dnspy调试mono.dll
dnspy所需要的mono.dll
vivado的设计调试手册,手把手教如何进行程序的调试,内容详细,适合新手,欢迎下载和进行技术交流。
dnspy的unity相关mono补丁
Pro-Python-Best-Practices-Debugging-Testing-and-Maintenance.pdf
Memory-and-C++-debugging-at-EA-2015
Memory-and-C++-debugging-at-EA-2015.pptx
基于生产者和消费者的串口调试助手,供初学者参考
开源项目-trstringer-cli-debugging-cheatsheets.zip,Go (Delve) CLI debugging cheatsheet
ug908-vivado-programming-debugging
MS Press - Debugging Applications
Anti-Debugging.ec
As a result, anti-debugging tricks are probably the most common feature of code intended to interfere with reverse-engineering (and anti- disassembly constructs being the next most common)....