Eclipse Plugin for the Debug Perspective

    Hello,

    I try to write an Debugger Plugin for AiE. My Target is, to read some Informations of different Variables (Internal Tables, References etc), match this Infos, and show its in a tree.

    But i’m not really successfull.
    I read the “Getting started…” Document from: http://scn.sap.com/docs/DOC-59944

    and the linked Blogs from Martin Steinberg and Christian Drumm.

    But my Problem is a little bit specially, because i want to use my Plug-In in the Debug Perspective…
    For Example: When i try the “Hello World” Plugin from Martin Steinberg: http://scn.sap.com/docs/DOC-54728

    it works.
    I have the “Hello World” Plug-In Project in Eclipse, when i start it, an second Eclipse Instance is starts.

    In the Second Eclipse instance i have the new Menu-Button for the Plugin, and can start the plugin. => Everything is okay.

    But: When i connect to a Abap Project (in the second eclipse), and start the debugger, the second Eclipse freeze

    and hangs up…. Have someone an Idea to solve this Problem?

    I think its a Problem of the second Eclipse Instance and ADT.

    What i already tried:

    When i use not an ABAP Project (in the second eclipse), and use a Java Project, and start the Debugger for Java,
    the second Eclipse hangs up too.   => i thought its a generally Eclipse Problem.

    BUT: I tried a complete new Eclipse Installation (Without installed ADT), and with this eclipse, i can start my Plug-In Project =>

    Second Eclipse Instance starts, and doesn’t hang up when i start the Debugger there.

    I installed the Eclipse some times again (with and without ADT) and i only have the Problem when ADT is installed.

    P.S. I use Luna and the newest ADT-Version.

    Have someone an Idea?

    Regards

    Stefan

    Hello,I try to write an Debugger Plugin for AiE. My Target is, to read some Informations of different Variables (Internal Tables, References etc), match this Infos, and show its in a tree.But i'm not really successfull. I read the "Getting started..." Document from: http://scn.sap.com/docs/DOC-59944and the linked Blogs from Martin Steinberg and Christian Drumm. But my Problem is a little bit specially, because i want to use my Plug-In in the Debug Perspective... For Example: When i try the "Hello World" Plugin from Martin Steinberg: http://scn.sap.com/docs/DOC-54728it works. I have the "Hello World" Plug-In Project in Eclipse, when i start it, an…

    Eclipse Plugin for the Debug Perspective

    Very Helpfull

    User Rating: Be the first one !
    Doctor Asked on November 2, 2016 in eclipse.
    Add Comment
    1 Answer(s)

      Hello,

       

      I found the solution.

      My Eclipse (First Eclipse Instance) use the JRE and not the JDK. In Eclipse you can find the Setting in => Window | Preferences | Java | Installed JREs.

       

      I installed the newest JDK. And switched in Eclipse from JRE to the JDK folder. Now the second Eclipse can debug on SAP Systems . (without freeze)

       

      Regards

      Stefan

      Add Comment

        Hello,

         

        I found the solution.

        My Eclipse (First Eclipse Instance) use the JRE and not the JDK. In Eclipse you can find the Setting in => Window | Preferences | Java | Installed JREs.

         

        I installed the newest JDK. And switched in Eclipse from JRE to the JDK folder. Now the second Eclipse can debug on SAP Systems . (without freeze)

         

        Regards

        Stefan

        Add Comment

        Your Answer

        By posting your answer, you agree to the privacy policy and terms of service.