05 17

Writing eclipse plugins in python

Just right-click in the source code and add a breakpoint.

debug10

Then select Debug as → Python Run

debug20

You can now inspect and modify the variables in the variables view.

debug30

Via the debug buttons (or shortcuts F5, F6, F7, F8) you can move in your program.

You can use F5 / F6, F7 and F8 to step through your coding.

Table 1. Debugging Key bindings Command Description

F5

Goes to the next step in your program. If the next step is a method / function this command will jump into the associated code.

F6

F6 will step over the call, e.g. it will call a method / function without entering the associated code.

F7

F7 will go to the caller of the method/ function. So this will leave the current code and go to the calling code.

F8

Use F8 to go to the next breakpoint. If no further breakpoint is encountered then the program will normally run.

You can of course use the ui to debug. The following displays the key bindings for the debug buttons.

debug40

Eclipse - The Eclipse Foundation open source community.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>