Link With Editor
Link with Editor allows you to link Visual Debugger graph elements with the source editor. Link with Editor enables the usage of Visual Debugger graph elements for switching between the code sections. Link with Editor functionality works in both directions and allows to position the graph based on where the cursor is placed in the editor.
Link with Editor feature is turned on by default, however you can use the corresponding toolbar button in the view to toggle it on or off.
Link with Editor Icon Tool Bar
Navigate in the Editor using Graph Elements
Follow these steps:
-
Select a node that represents a program.
The cursor moves to the beginning of that program and the corresponding tab in the editor automatically opens and becomes active.
Selecting Node in Debugger
-
Select a node that represents a paragraph.
The cursor moves to the beginning of that paragraph.
The tab in the editor that corresponds to the program with the paragraph automatically opens and becomes active.
Node in Paragraph Position
-
Select an edge between programs A and B.
The cursor moves to the line in the program A, where the last transition of the control to the program B occurred. This also applies to paragraphs level.
Selecting Edge Between Programs
Navigate within the Graph using the Cursor
-
Place the cursor on any line.
This highlights the corresponding node (program or paragraph, depending on the current level of the graph), and positions it at the center of the Visual Debugger view.
Programs Level:
Debugger Actions in Program
Paragraphs Level:
Debugger Actions in Paragraph
-
Clicking on the Position at the breakpoint has the same effect as manual placing of the cursor on the corresponding line.