Commit Graph

15 Commits

Author SHA1 Message Date
Friedemann Kleint
d348e5099b Debugger/CDB: Split engine for testing/scripting purposes. 2010-01-22 17:15:33 +01:00
hjk
e3712f9687 debugger: refactoring, use QByteArray instead of QString when appropriate 2010-01-05 18:13:24 +01:00
Friedemann Kleint
ee3dde9cee CDB: Case-normalize file names returned by CDB
Fixing various problems with breakpoints and opened files caused by CDB
returning lower-case file names.
Task-number: QTCREATORBUG-438
Reviewed-by: hjk <qtc-committer@nokia.com>
Acked-by: mariusSO <qt-info@nokia.com>
2009-12-15 11:02:09 +01:00
Friedemann Kleint
8cc94d10a2 CDB: Implement "Run to line/function", fix step by instruction.
Remove unused exec functions, replace by calls to the respective
stepExec/nextExec, which sets the code level automagically
according to the OperateByInstruction action.
2009-09-30 17:13:52 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Friedemann Kleint
e8dafc28a5 Improve error logging of CDB breakpoint setting.
Output warnings to debugger log. Prevent breakpoints from
being set several times when loading session data by
clearing the complete break handler.
Reviewed-by: hjk <qtc-committer@nokia.com>
2009-06-30 15:50:56 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
axasia
8d53cb0fb4 Fix compile error on MSVC2008 Express Edition with Debugging Tools for Windows(CDB).
Following implicit cast occurred error C2664 from cl compiler.
 (const WCHAR *) => (const ushort *)
 (const ushort *) => (PCWSTR)
So fixed by using a explicit cast which reinterpret_cast.
2009-05-30 23:03:43 +09:00
Friedemann Kleint
97789c2d26 Fixed breakpoints for CDB.
Set/modify breakpoints using the new takeXX() APIs of the breakhandler.
Add API for inserted breakpoints (as a 2-step process for pending
breakpoints). Format breakpoint tooltip properly with tr() and
more esthetically pleasing. Get rid of the old scheme of retrieving
and matching the breakpoints from the debugger engine, use ids.
2009-05-12 14:28:27 +02:00
Friedemann Kleint
52915776cd Make CDB load custom dumpers.
Load in a 'well-defined' (temporary) breakpoint
at main().
2009-04-22 17:28:26 +02:00
Friedemann Kleint
471d31ac9c CDB refactoring, introduce typedefs to remove version numbers.
Log exceptions with stacktrace.
2009-04-21 12:30:12 +02:00
hjk
800a48f027 debugger: code cosmetics 2009-04-15 14:26:08 +02:00
Friedemann Kleint
d11242feba Make break by function work for CDB.
Add function to automagically resolve function symbol names
that are missing the module name (module!foo). Kill some
trailing whitespace. Add a hack to transform qMain->main for VS.
2009-04-15 10:05:40 +02:00
Friedemann Kleint
3d55c45e2c Continued CDB breakpoint handling.
Enable temporarily stopping for setting breakpoints. Fix terminating the
debuggee in exitDebugger().
2009-04-08 16:37:41 +02:00
Friedemann Kleint
d199d6606e Continue CDB.
Improve locals handling, add watcher handling via expressions. Make
debug marker appear, start with breakpoint synchronization.
2009-04-07 17:07:11 +02:00