Skip to Content

When can we expect ABAP debug scripting in Eclipse ?

When is the eclipse equivalent of ABAP debug scripting to be delivered ?

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Jun 04, 2018 at 02:37 PM

    Hi Phil,

    debugger scripting in ADT is currently not part of our backlog or roadmap. It is not possible to promise a delivery date.

    What are your use cases for scripting? It's interesting for us to know and maybe we can provide a work around proposal.

    Thanks and best regards,
    Armin

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 12, 2018 at 10:03 AM

    Hi Armin,

    With respect to the question: "What are your use cases for scripting?":

    I use the Debugger Scripting feature very often (nearly every week) with a script based on an example from Christian Günter here https://github.com/christianguenter2/sitFRA_2016 ->

    zrstpda_script_statement_break.prog.abap

    that allows to define pattern-breakpoints, e.g.

    • "stop whenever a code line with the pattern *vstel* is encountered"

    This is a very useful feature to have in Debugging, for example when trying to understand why a BAPI does not behave as expected.

    Another script that would be very useful (and that I plan to write when I have time) is:

    • "stop at every Z-Code OR modification OR user exit OR enhancement"

    Best regards,

    Edo

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 04, 2018 at 03:27 PM

    My requirement happened today, how to view logical Object values not exposed a properties.

    If an object doesnt not have a bags of properties and values are only returned via getters only, how can these be viewed in the debugger.

    I need to alter the source put test code in to get the values I want to see in the debugger.

    My first thought was, classic case for script debugging.

    object->getter( )

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Phil,

      thanks for the input. I assume the getter method is complex or contains some kind of calculation, correct? ("object doesnt not have a bags of properties")

      Actually I think even with scripting this would be hard to solve for you because the getter method must be executed in the context of the debuggee while the script runs in the context of the debugger (different ABAP process). A way to execute ABAP in the context of the debuggee, like some kind of ABAP console during debugging, is also a wish we have but development capacity and priorities didn't allow us to provide such a feature yet.

      Best regards,
      Armin


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.