`
jgtang82
  • 浏览: 404553 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Note 573128 - Debugging programs in the background

    博客分类:
  • ABAP
UP 
阅读更多

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.

分享到:
评论

相关推荐

    Unity-debugging-5.x.zip

    "Unity-debugging-5.x.zip"这个压缩包可能包含了一组针对Unity 5.x版本的调试工具和资源,特别是针对"dnspy"的mono.dll文件。 dnspy是一款开源的.NET反编译器和调试器,它允许开发者查看、编辑、调试和分析.NET程序...

    Unity-debugging-2019.x.zip

    "Unity-debugging-2019.x.zip"这个压缩包很可能包含了一些关于在Unity 2019版本中进行调试的资源和教程,特别是使用dnSpy工具来调试Unity引擎中的"mono.dll"。 dnSpy是一款强大的.NET反编译器和调试器,特别适合于...

    Unity-debugging-2017.x.zip

    "Unity-debugging-2017.x.zip" 这个压缩包显然是针对Unity 2017版本的一个调试工具集合,特别提到了"dnspy"和"mono.dll",这两个在Unity开发中扮演着关键角色。 dnSpy是一款开源的.NET反编译器和调试器,特别适合...

    Unity-debugging-dlls

    Unity-debugging-4.x Unity-debugging-5.x Unity-debugging-2017.x Unity-debugging-2018.x Unity-debugging-2019.x

    【Dnspy】Unity-debugging相关mono补丁

    【Dnspy】Unity-debugging相关mono补丁 在Unity引擎的开发过程中,调试是必不可少的一个环节。DnSpy是一款强大的.NET反编译器和调试器,它支持IL(Intermediate Language)代码查看、编辑和调试,这对于理解Unity中...

    Unity-debugging-2018.x.zip

    这个"Unity-debugging-2018.x.zip"压缩包显然与Unity的调试功能有关,特别是针对2018版本。Unity的调试工具对于优化代码、查找错误和提高性能至关重要。 首先,我们要关注的是“dnSpy”这个工具。dnSpy是一款开源的...

    反编译Unity-debugging-4.x.zip

    "反编译Unity-debugging-4.x.zip"这个资源可能包含了一些关于如何在Unity 4.x版本中进行反编译和调试的技术资料。在本文中,我们将深入探讨反编译Unity项目以及C#编程语言在Unity中的应用。 首先,了解反编译的概念...

    Serial-debugging-assistant.rar_串口 消费者_串口助手_生产者

    基于生产者和消费者的串口调试助手,供初学者参考

    ug908-vivado-programming-debugging.zip_UG908_UG908使用问题_UG908怎么用_

    在“ug908-vivado-programming-debugging.pdf”中,读者还可以找到关于性能分析、功耗估算、静态时序分析(STA)和约束的设置等内容。这些工具和技术对于优化设计性能和满足时序要求至关重要。此外,UG908还将涵盖...

    vivado-programming-debugging.pdf

    vivado的设计调试手册,手把手教如何进行程序的调试,内容详细,适合新手,欢迎下载和进行技术交流。

    ug908-vivado-programming-debugging.pdf

    Vivado 编程和调试指南 Vivado Design Suite 是 Xilinx 公司的一款 FPGA 开发工具套件,旨在提供一个集成的开发环境,用于设计、验证和编程 FPGA 芯片。UG908 文档是 Vivado 编程和调试指南,旨在帮助用户了解 ...

    ug908 vivado-programming-debugging

    vivado-programming-debugging UG908 (v2024.1) May 30, 2024

    Anti-Debugging.ec

    Anti-Debugging.ec

    开源项目-trstringer-cli-debugging-cheatsheets.zip

    开源项目-trstringer-cli-debugging-cheatsheets.zip 是一个与Go语言相关的开源资源,它包含了一个用于命令行接口(CLI)调试的速查表。这个压缩包的重点是使用Delve工具进行高效的Go程序调试。Delve是Go语言的一个...

    D3-Debugging NNs.pptx

    D3-Debugging NNs.pptx Discussion Section Friday April 20 Tips and tricks for tuning NNs

    The_Ultimate_Anti-Reversing_Reference

    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)....

    藏经阁-Debugging Big Data Analytics i.pdf

    藏经阁-Debugging Big Data Analytics i

    serial-port-debugging_串口调试工具_

    "serial-port-debugging"这个主题主要涉及如何使用串口进行通信和调试。串口,也称为串行端口,是一种古老的通信接口,尽管随着USB和其他高速接口的发展,但它在调试和测试设备时依然具有不可替代的作用,尤其在...

    ug936-vivado-tutorial-programming-debugging.pdf

    该教程“UG936-vivado-tutorial-programming-debugging.pdf”聚焦于Vivado中的编程与调试流程,版本号为2022.2,发布日期为2022年11月16日。Xilinx致力于创建一个包容性的工作环境,因此在产品和相关材料中移除可能...

Global site tag (gtag.js) - Google Analytics