IDE Window: Debugger Options

From Free Pascal wiki
Revision as of 14:09, 18 July 2006 by Marc (talk | contribs)
Jump to navigationJump to search

Deutsch (de) English (en) español (es) français (fr) português (pt) русский (ru)

Important

This page is under construction. It may contain wrong information and must be confirmed/repaired by Marc.

You must setup the debugger and start the project to debug it. Only then the breakpoints are useful.

General

Debugger type and path

Choose the debugger.

  • None - No debugger. On Run, simply execute the program.
  • GNU debugger (gdb) - The gdb is not part of Lazarus. You must install it yourself. This is the connector to gdb. You must set the path to gdb (for example /usr/bin/gdb) in the field below.
  • GNU debugger through SSH - for remote debugging. You can use a SSH connection to a another computer and execute gdb there. You need a SSH connection without prompt for password for this. See the SSH documentation on how to do that.

Additional search path

You can add extra directories, where to search for sources, named in the debugging information of the executable. This is used for all projects.

Debugger general options

Show message on stop

Enable this to show a notification, when programs stops.

Debugger specific options

Each debugger type has special options.

GNU debugger (gdb)

  • OverrideRTLCallingConvention: Marc?

Event Log

General

  • Clear log on run: clear debug output window, on each start of the program.
  • Limit line count to: keep only the last lines of output.

Messages

Marc?

Language Exceptions

Programs can raise exceptions. For example, when a file can not be read. Here you setup, if the debugger should stop on an exception.

Ignore these exceptions

For example: EDivByZero

Break on Lazarus Exceptions

Marc?

OS Exceptions

Signals

Not implemented yet. Marc?