Difference between revisions of "Documentation/DevGuide/Basic/Basic Source Editor and Debugger"
m |
m |
||
Line 8: | Line 8: | ||
{{Documentation/DevGuideLanguages|Documentation/DevGuide/Basic/{{SUBPAGENAME}}}} | {{Documentation/DevGuideLanguages|Documentation/DevGuide/Basic/{{SUBPAGENAME}}}} | ||
{{DISPLAYTITLE:Basic Source Editor and Debugger}} | {{DISPLAYTITLE:Basic Source Editor and Debugger}} | ||
− | The Basic editor and debugger of the IDE window is shown when the user edits a Sub or Function from the '''Tools - Macros - Organize Macros - OpenOffice''' | + | The Basic editor and debugger of the IDE window is shown when the user edits a Sub or Function from the '''Tools - Macros - Organize Macros - OpenOffice Basic''' dialog. In this mode, the window contains the actual editor main window, debugger Watch window to display variable values and the debugger Calls window to display the Basic call stack. The Watch and Calls windows are only used when a Basic program is running and halted by the debugger. |
− | The editor supports common editor features. Since the editor is only used for the {{AOo}} Basic programming language, it supports a Basic syntax specific highlighting and F1 help for Basic keywords. | + | The editor supports common editor features. Since the editor is only used for the {{AOo}} Basic programming language, it supports a Basic syntax specific highlighting and {{key|F1}} help for Basic keywords. |
[[Image:BasicEditor_Running.png|none|thumb|400px|Basic Editor and Debugger]] | [[Image:BasicEditor_Running.png|none|thumb|400px|Basic Editor and Debugger]] |
Revision as of 20:20, 20 December 2020
- Basic Source Editor and Debugger
- Dialog Editor
The Basic editor and debugger of the IDE window is shown when the user edits a Sub or Function from the Tools - Macros - Organize Macros - OpenOffice Basic dialog. In this mode, the window contains the actual editor main window, debugger Watch window to display variable values and the debugger Calls window to display the Basic call stack. The Watch and Calls windows are only used when a Basic program is running and halted by the debugger.
The editor supports common editor features. Since the editor is only used for the Apache OpenOffice Basic programming language, it supports a Basic syntax specific highlighting and F1 help for Basic keywords.
The following list explains the functionality of the macro toolbar buttons.
Illustration 12.24: Basic Editor and Debugger shows how the IDE window looks while a Basic program is executed in debugging mode.
- The Stop button is enabled.
- A breakpoint is set in line 11.
- The execution is halted in line 12. The current position is marked by a yellow arrow.
- The Watch window contains the entries Value and Hello, and displays the current values of these variables. Values of variables can also be evaluated by touching a corresponding identifier in the source code with the cursor.
- The Calls window shows the stack. The currently executed Sub doIt is displayed at the top and the Sub Main at the second position.
Content on this page is licensed under the Public Documentation License (PDL). |