简体   繁体   English

有没有办法跟踪在调试器或 ABAP 中执行的代码行?

[英]Is there a way to trace which lines of code were executed in debugger or otherwise in ABAP?

I am facing an issue and would need to debug several brf+.我正面临一个问题,需要调试几个 brf+。 I do have a positive and negative case.我确实有一个正面和负面的案例。 However, debugging them simultaneously to track the flow in the execution of the method is quite cumbersome.但是,同时调试它们以跟踪方法执行中的流程非常麻烦。 SAP trace will only trace the methods and tables executed, which is not what I want. SAP trace 只会跟踪执行的方法和表,这不是我想要的。

I want in a method with several conditional codes, which ones were executed.我想要一个带有几个条件代码的方法,这些代码被执行了。

Just found an amazing post on SCN that helps in this.刚刚在 SCN 上找到了一篇很棒的帖子,对此有所帮助。

https://blogs.sap.com/2010/12/14/abap-debugger-scripting-basics/ https://blogs.sap.com/2010/12/14/abap-debugger-scripting-basics/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM