Variable: gdb-non-stop-setting

gdb-non-stop-setting is a customizable variable defined in gdb-mi.el.gz.

Value

nil

Documentation

If non-nil, GDB sessions are expected to support the non-stop mode.

When in the non-stop mode, stopped threads can be examined while other threads continue to execute.

If this is non-nil, GDB will be sent the "set non-stop 1" command, and if that results in an error, the non-stop setting will be turned off automatically.

On MS-Windows, this is off by default, because MS-Windows targets don't support the non-stop mode.

GDB session needs to be restarted for this setting to take effect.

This variable was added, or its default value changed, in Emacs 29.1.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/gdb-mi.el.gz
;; This is disabled by default because we don't really support
;; asynchronous execution of the debuggee; see bug#63084.  FIXME.
(defcustom gdb-non-stop-setting nil
  "If non-nil, GDB sessions are expected to support the non-stop mode.
When in the non-stop mode, stopped threads can be examined while
other threads continue to execute.

If this is non-nil, GDB will be sent the \"set non-stop 1\" command,
and if that results in an error, the non-stop setting will be
turned off automatically.

On MS-Windows, this is off by default, because MS-Windows targets
don't support the non-stop mode.

GDB session needs to be restarted for this setting to take effect."
  :type 'boolean
  :group 'gdb-non-stop
  :version "29.1")