summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/cdb/cdbstacktracecontext.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Debugger: R.I.P. old CDB engine.Friedemann Kleint2011-01-071-166/+0
|
* Merge branch '2.1'con2010-12-171-7/+11
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/coreplugin/basemode.cpp src/plugins/coreplugin/basemode.h src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp src/plugins/debugger/debuggeragents.cpp src/plugins/debugger/debuggeruiswitcher.cpp src/plugins/debugger/debuggeruiswitcher.h src/plugins/projectexplorer/buildconfigdialog.cpp src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp src/plugins/qmldesigner/components/propertyeditor/colorwidget.h src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h src/plugins/qmldesigner/designercore/include/modelutilities.h src/plugins/qmldesigner/designercore/include/nodeinstance.h src/plugins/qmldesigner/designercore/include/propertymetainfo.h src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp src/plugins/qmldesigner/designercore/model/modelutilities.cpp src/plugins/snippets/inputwidget.cpp src/plugins/snippets/snippetscompletion.cpp src/plugins/snippets/snippetscompletion.h src/plugins/snippets/snippetspec.cpp src/plugins/snippets/snippetsplugin.cpp src/plugins/snippets/snippetswindow.cpp src/plugins/snippets/snippetswindow.h src/plugins/texteditor/snippetsparser.cpp src/tools/qml/qmldom/main.cpp tests/manual/trk/runner.cpp tests/manual/trk/trkolddevice.cpp tests/manual/trk/trkolddevice.h tests/manual/trk/trkserver.cpp
| * License headers.con2010-12-171-7/+11
| |
* | Debugger: Fix StackFrame.usable for CDBFriedemann Kleint2010-12-011-2/+3
| |
* | debugger: Refactor breakpoint handling.hjk2010-11-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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.
* | debugger: refactoring of the plugin interfacehjk2010-11-101-2/+3
|/ | | | | There's some 'external' and some 'internal' part now. Other plugins are only supposed the external interface.
* Debugger: Sanitize Datatypes, part 2: Stackframes.Friedemann Kleint2010-09-211-1/+1
| | | | | | | Make address a quint64. Enable DisassemblerViewAgent to match the disassembly-addresses by converting the numbers, making it more robust. Remove the complicated formatting needed for CDB.
* Debugger[CDB]: Add thread names.Friedemann Kleint2010-09-171-0/+1
|
* debugger: rename CdbDebugEngine into CdbEnginehjk2010-07-081-1/+1
| | | | Fits better into the scheme and makes grep^H^H^H^H Ctrl-F-ing easier.
* Debugger: Make threads tooltip more verboseFriedemann Kleint2010-07-021-16/+29
| | | | | | CDB: Add more information and state to Thread. Refactor thread information in CdbCore classes to prepare for more information.
* debugger: The DebuggerEngine refactoring.hjk2010-06-221-8/+10
| | | | | | | | | | | | | | | | | This replaces the (de facto) singleton engines and data handlers by classes that are instantiated per run. The DebuggerRunControl will now create an object of (a class derived from) DebuggerEngine that contains all the relevant "dynamic" data. DebuggerManager is no more. The "singleton" bits are merged into DebuggerPlugin, whereas the data bits went to DebuggerEngine. There is no formal notion of a "current" DebuggerEngine. However, as there's only one DebuggerEngine at a time that has its data models connected to the view, there's still some "de facto" notion of a "current" engine. Calling SomeModel::setData(int role, QVariant data) with custom role is used as the primary dispatch mechanism from the views to the "current" data models (and the engine, as all data models know their engine).
* Debugger: Windows compile fix/warningsFriedemann Kleint2010-05-191-0/+1
|
* debugger: gather more information on threads when easily availablehjk2010-05-181-2/+2
|
* Compile Windows.Friedemann Kleint2010-03-181-1/+3
|
* Long live the king!hjk2010-03-051-1/+1
|
* CDB: Extract SymbolGroupContext class into Core library.Friedemann Kleint2010-02-041-281/+59
| | | | Split for testing/scripting purposes.
* Merge remote branch 'origin/1.3'Oswald Buddenhagen2010-01-291-4/+4
|\ | | | | | | Trailing whitespace removal re-applied manually.
| * remove trailing whitespaceOswald Buddenhagen2010-01-291-5/+5
| | | | | | | | doing it in 1.3 as well to avoid possible later conflicts
* | Debugger/CDB: Split engine for testing/scripting purposes.Friedemann Kleint2010-01-221-13/+14
| |
* | Fix typosTobias Hunger2010-01-111-1/+1
|/ | | | Reviewed-by: thorbjorn
* CDB: Case-normalize file names returned by CDBFriedemann Kleint2009-12-151-1/+1
| | | | | | | | 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>
* CDB: Fix code model scope detection when stopping at function scope.Friedemann Kleint2009-10-191-0/+5
| | | | | that is, setting a break point at the opening brace or at function. Set StackFrame::from correctly.
* Debugger: Use the code model to detect unitialized variables.Friedemann Kleint2009-10-161-1/+10
| | | | | | | | | | | This should save debugger round trips and crashes in the debugging helpers. Add respective option to debugging helper option page, defaulting to true.On this occasion, make CDB detect shadowed variables correctly and display them as "<shadowed n>" as does the Gdb engine by reversing the direction in which CdbSymbolGroupContext::populateINameIndexMap works. Rubber-stamped-by: hjk <qtc-committer@nokia.com>
* CDB: Bug fixingFriedemann Kleint2009-10-131-0/+1
| | | | | | | | | | | | | | | | - Turn off initial breakpoint when attaching (terminal) and additionally ignore it before the first startup complete - Refuse to step the artifical thread created when interrupting - If possible, switch to thread 0 when interupting (do not use artificial thread) - Ignore non-fatal exceptions in dumper calls (stray Startup- complete-traps) - Use right thread for dumper call loading - Rename windows exception code enumeration - Turn off modification off watch-data children by setType, show empty lists correctly. - Verbose warnings about inserting invalid watch data.
* CDB: Fix step into, improve multithread dumping, exception loggingFriedemann Kleint2009-10-061-18/+32
| | | | | | | | | | Use new call syntax of 6.11. for dumper call loading. Execute Dumpers in a single thread (current) if at all possible (not in some WaitFor or artificial break thread). Show one more frame in threads view if it is FastCallReturn. Fix step into (ignore one event), log some more exceptions. Generally log exceptions to the debugger windows to be able to see stuff like DLL missing, etc.
* CDB: Restore current thread.Friedemann Kleint2009-10-051-0/+10
|
* CDB: Provide thread frame informationFriedemann Kleint2009-10-051-0/+100
|
* CDB: Fix dumper regressionFriedemann Kleint2009-10-021-1/+2
| | | | | | | | - Do not deref d-ptr when checking on QVariants of PODS - Make type/value fixing of dumper results more fine-grained - Allow children in expandPtrToDumpage (QWidget-Pointers) - Fix broken size cache (queuePrefix was empty) - Compile
* CDB: Remove "experimental" message, better logging for threadsFriedemann Kleint2009-09-291-10/+1
|
* long live the kinghjk2009-08-141-1/+1
|
* Revert "Enabled the use of Debugger-specific watch/locals models."hjk2009-07-131-49/+6
| | | | This reverts commit abf5e3ddc39b8f4971f61fb9f8dccdb1d4635bf5.
* Enabled the use of Debugger-specific watch/locals models.Friedemann Kleint2009-07-101-6/+49
| | | | | | | | | | | | | - Modified WatchModel to handle storage of an hierarchy of WatchItems. - Factored out code for asynchronous population to AsyncWatchModel and added a mixin for convenient handling - Added base class for synchronous models. - Implement simple, synchronous models for CDB, greatly simplifying code and finally getting manual expansion right. Signed-off-by: hjk <qtc-committer@nokia.com>
* Update license headers and sales contact details.Jason McDonald2009-06-171-2/+2
| | | | Reviewed-by: Trust Me
* Fix compile error on MSVC2008 Express Edition with Debugging Tools for ↵axasia2009-05-301-2/+2
| | | | | | | | | 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.
* A bit of QA testing of CDB.Friedemann Kleint2009-05-201-2/+12
| | | | | | Handle functions with 0 variables correctly in the stack view. Give names to unnamed formal parameters (causing WatchData warnings). Ignore exception 06ba.
* Added ToolTip support for CDB.Friedemann Kleint2009-05-141-0/+21
| | | | | | | | | | | | Make debugger tooltip API more general, have the engines check the correct file type, figure out the expression and context from the text editor. Put common functionality in watchutils.cpp. In the CDB engine, check whether a tooltip expression is a known variable within the stack frame context. If so, retrieve via symbol group or dumpers. Cache by function and expression. Reviewed-by: hjk <qtc-committer@nokia.com>
* Initial work on dumpers for CDB.Friedemann Kleint2009-04-291-17/+21
| | | | | Add dumper calls, parser etc. Catch crashes in the dumper functions.
* CDB refactoring, introduce typedefs to remove version numbers.Friedemann Kleint2009-04-211-18/+44
| | | | Log exceptions with stacktrace.
* debugger: code cosmeticshjk2009-04-151-2/+2
|
* Implement disassembler for cdb.Friedemann Kleint2009-04-141-1/+4
| | | | | | Filter debugging output correctly, some glitches. Extract base class for debugging output to be able to intercept debugging output for other purposes (such as disassembling).
* Continue CDB.Friedemann Kleint2009-04-071-4/+8
| | | | | Improve locals handling, add watcher handling via expressions. Make debug marker appear, start with breakpoint synchronization.
* Add expanding of symbols.Friedemann Kleint2009-03-271-1/+3
|
* Start stack frame context/symbol group classes for CDBFriedemann Kleint2009-03-261-0/+161