Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Servoy comes with a full-featured debugging environment to allow developers to debug their script logic using debug clients, including the Smart Client and Web Client.
This chapter provides a general overview of the debugging process, followed by a description of features available in the Debug perspective.

Quick Links: 

Working With Breakpoints

The following properties can be assigned for a selected breakpoint using the context menu item Breakpoint Properties, accessed by right-clicking on the desired breakpoint in the editor view or the Breakpoints view:

  • Enable or disable the breakpoint (disabled breakpoints will show as white circles instead of blue on the vertical bar, and their checkboxes will be unchecked in the Breakpoints view).
  • Specify a hit count condition for breaking.
  • Specify other breakpoint conditions.
    In addition, the following functions are available via the toolbar in the Breakpoints view:
  1. Delete selected breakpoint.
  2. Delete all breakpoints (Caution: Breakpoints in all open editors will be deleted.)
  3. Show breakpoints supported by selected target (shows only the breakpoints for the currently selected script editor view).
  4. Go to file for breakpoint (goes to breakpoint location in Script editor).
  5. Skip all breakpoints at runtime.
  6. Toggle Global ExceptionBreak (only stops the process and shows the breakpoint when an error occurs)
  7. Toggle Global EntryBreak (breaks the process every time a method attempts to execute, with or without a breakpoint)
  8. Toggle Global ExitBreak (breaks the process after the execution of a method, with or without a breakpoint)
  9. Expand all
  10. Collapse all
  11. Link with Debug view (highlights the selected breakpoint in the Debug script editor view)

Accessing Log Files

During debugging, Servoy Developer logs the activities of the debug client in the following file:
../application_server/servoy_log.txt
An additional (external) console window providing more detailed information can be launched by Eclipse by adding "-consoleLog" to the top of the servoy.ini file (for Mac users, this file is exposed when you view the Servoy application package contents and browse to the MacOS folder.) This console is useful for getting additional feedback during debugging.

  • No labels