diff options
| author | hjk <qtc-committer@nokia.com> | 2010-11-10 16:33:11 +0100 |
|---|---|---|
| committer | hjk <qtc-committer@nokia.com> | 2010-11-15 12:09:25 +0100 |
| commit | 8ae541b36fc342c8f02c4b674a68a21c0ed8034d (patch) | |
| tree | a0e0de05d986987110aec1783d213dfb16337567 /src/plugins/debugger/gdb/pythongdbengine.cpp | |
| parent | 33bae0d7845e546c019d9bda3af44c3411ebcacb (diff) | |
| download | qt-creator-8ae541b36fc342c8f02c4b674a68a21c0ed8034d.tar.gz | |
debugger: Refactor breakpoint handling.
The breakpoints are now (fairly) tightly guarded by the BreakpointHandler.
Engines and Views are only supposed to refer to them by id. They also have
individual states now. The breakpoint data is split into a "user requested"
"fixed" part in BreakpointData and the engines' acknowledged data in a new
struct BreakpointResponse.
TODO: Move m_state and m_engine members to BreakpointResponse. Fix regressions
in the marker handling.
Diffstat (limited to 'src/plugins/debugger/gdb/pythongdbengine.cpp')
| -rw-r--r-- | src/plugins/debugger/gdb/pythongdbengine.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/debugger/gdb/pythongdbengine.cpp b/src/plugins/debugger/gdb/pythongdbengine.cpp index 7a3ece8617..aa21cd979a 100644 --- a/src/plugins/debugger/gdb/pythongdbengine.cpp +++ b/src/plugins/debugger/gdb/pythongdbengine.cpp @@ -31,6 +31,7 @@ #include "gdbmi.h" #include "abstractgdbadapter.h" #include "debuggeractions.h" +#include "debuggercore.h" #include "debuggerstringutils.h" #include "breakhandler.h" @@ -75,9 +76,9 @@ void GdbEngine::updateLocalsPython(bool tryPartial, const QByteArray &varList) } QByteArray options; - if (theDebuggerBoolSetting(UseDebuggingHelpers)) + if (debuggerCore()->boolSetting(UseDebuggingHelpers)) options += "fancy,"; - if (theDebuggerBoolSetting(AutoDerefPointers)) + if (debuggerCore()->boolSetting(AutoDerefPointers)) options += "autoderef,"; if (!qgetenv("QTC_DEBUGGER_PYTHON_VERBOSE").isEmpty()) options += "pe,"; |
