Debugger: List break on catch/throw as such and map names in engine.

Introduce special setting 'Stop on exception' for CDB.
Reviewed-by: hjk
This commit is contained in:
Friedemann Kleint
2010-09-28 16:42:21 +02:00
parent 2fff849ae1
commit 8d6f67f594
12 changed files with 74 additions and 15 deletions

View File

@@ -66,6 +66,10 @@ public:
// This copies only the static data.
BreakpointData *clone() const;
// Generic name for function to break on 'throw'
static const char *throwFunction;
static const char *catchFunction;
private:
// Intentionally unimplemented.
// Making it copyable is tricky because of the markers.
@@ -90,7 +94,9 @@ public:
int lineNumber; // Line in source file.
quint64 address; // Address for watchpoints.
QByteArray threadSpec; // Thread specification.
QString funcName; // Name of containing function.
// Name of containing function, special values:
// BreakpointData::throwFunction, BreakpointData::catchFunction
QString funcName;
bool useFullPath; // Should we use the full path when setting the bp?
// This is what gdb produced in response.