OSDN Git Service

debugger: introduce an "undisturbable" context
authorhjk <qtc-committer@nokia.com>
Tue, 5 Oct 2010 10:47:23 +0000 (12:47 +0200)
committerhjk <qtc-committer@nokia.com>
Tue, 5 Oct 2010 10:50:00 +0000 (12:50 +0200)
commitc69c15ddc91570e161f57b2677211fc062242a81
treef5f31505c1c0165193798aa19b861dd8fbb01016
parentb1be9972415614bf6b2ee5375b178d0e272bd90a
debugger: introduce an "undisturbable" context

It is active when the debugger runs but should not be touched, like
the periods between InferiorRunRequested and InferiorRunOk etc.
Without that context the core debug start action would trigger,
and create another debugger instance.

Reviewed-by: Friedemann Kleint
src/plugins/debugger/debuggerplugin.cpp