Arvid Ephraim Picciani
295800196e
Adapt Lldb to dissasembler changes
2010-11-24 17:04:08 +01:00
Friedemann Kleint
c619360860
Debugger: Fix CDB Disassembler
2010-11-24 16:51:02 +01:00
hjk
d0b7c12430
debugger: make debugger view data store more structured
2010-11-24 15:55:45 +01:00
hjk
90657a496b
debugger: small usability fixes for dissassembler, breakpoint view, location
2010-11-24 15:55:45 +01:00
hjk
8cd704b57a
debugger: improve stepping performance in "instructionwise" mode.
...
Formatting of disassembler view took too much time.
2010-11-19 09:21:35 +01:00
hjk
8ae541b36f
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.
2010-11-15 12:09:25 +01:00
hjk
2161e0f6d9
debugger: refactoring of the plugin interface
...
There's some 'external' and some 'internal' part now. Other plugins
are only supposed the external interface.
2010-11-10 12:08:23 +01:00
Arvid Ephraim Picciani
c0303faa9e
Add CLang support to DisassemblerViewAgent
2010-11-08 16:05:12 +01:00
Friedemann Kleint
22f03cbde6
ProjectExplor/Debugger: Header cleanup
2010-11-02 16:14:00 +01:00
Friedemann Kleint
722e48c2b3
TextEditor: Some exported header cleanup.
...
Remove internal markers from exported headers,
introduce private class for BaseTextDocument.
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com >
2010-10-29 15:20:10 +02:00
Friedemann Kleint
1e4749d9b2
Debugger: Fix current line in assembly listing
...
Reviewed-by: con
2010-10-27 16:33:53 +02:00
Friedemann Kleint
1c73e3f19b
Debugger[gdb/Mac]: Show location marker in Mac OS disassembly.
...
Account for "0x0000000100002682sub $0x68,%rsp", convert
hex address correctly to match the location.
Reviewed-by: hjk
2010-10-27 16:33:53 +02:00
con
3891ed9705
Don't close modified files or the current file at end of debug session
...
Acked-by: hjk
2010-10-25 17:21:28 +02:00
Friedemann Kleint
1d978a3618
Debugger: Sanitize Datatypes, part 2: Stackframes.
...
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.
2010-09-21 15:12:33 +02:00
Friedemann Kleint
332889aec2
Debugger: Sanitize Datatypes, part 1: Breakpoints.
...
Make address a quint64, linnumber and ignoreCounts int.
Reviewed-by: hjk
2010-09-21 14:26:45 +02:00
dt
08ccda5862
EditorManager: Change openEditor/activateEditor to not do mode switching
...
Also introduce a indirection, modes have now types, edit and debug have
the same type, and editors do have a prefered type of modes instead of a
prefered mode.
That fixes the bug that if the prefered qml editing mode was set to
design, then in switching between qml editors would
- in Edit Mode: stay in edit mode
- in Debug Mode: switch to debug mode
2010-09-14 15:23:11 +02:00
Friedemann Kleint
f7b19f8114
Debugger: Move DebuggerEngine/QmlEngine/QmlCppEngine into Debugger{}
...
namespace (from Debugger::Internal) as they are exported classes.
Introduce private classes to avoid exposing private JS debugger
headers.
2010-09-13 13:30:35 +02:00
hjk
3e152fc8aa
debugger: add an "Memory View" item to the menu
...
Task-number: QTCREATORBUG-1600
2010-09-09 18:08:25 +02:00
Friedemann Kleint
763b59aa73
Debugger: Fix debugger switching to edit mode.
...
... on clicking stack frames or disassembler/
memory views.
Introduce flags to openEditorAt, pass
EditorManager::NoModeSwitch where applicable.
Task-number: QTCREATORBUG-2278
2010-09-07 09:51:20 +02:00
hjk
e0c8bc6fff
debugger: fix crash when closing the disassembler and memory views
2010-07-23 17:23:15 +02:00
hjk
9cbbeec6c1
debugger: move convienience function to DebuggerEngine base class
2010-07-21 14:28:29 +02:00
con
d24d01f49c
Merge commit '52b9fcca2ddd5d5e95c6e13cbded018699c7dd68' (origin/2.0)
...
Conflicts:
src/plugins/debugger/debuggeragents.cpp
src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.cpp
src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.h
src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationwidget.cpp
src/plugins/qt4projectmanager/qt-maemo/maemosshthread.cpp
src/plugins/qt4projectmanager/qt-maemo/maemosshthread.h
2010-07-13 11:31:05 +02:00
ck
ce6460e229
BinEditor: Implement "Jump to start/end of file" for lazy data.
2010-07-07 10:32:19 +02:00
con
6503099bec
Merge remote branch 'origin/2.0'
...
Conflicts:
doc/qtcreator.qdoc
src/plugins/bineditor/bineditorplugin.cpp
2010-07-05 13:54:07 +02:00
ck
161e03227b
BinEditor: Refactor new range requesting.
...
Also adds the "new range" ability to the debugger's memory viewer.
2010-07-02 12:18:22 +02:00
Friedemann Kleint
0db5e80261
Debugger: Allow for custom Disassembler highlighters.
...
Remove hardcoded highlighter, give DisassemblerViewAgent
a mimetype property. Default to a generic Qt Creator
Assembler mimetype.
Acked-by: hjk
Rubber-stamped-by: Leandro T. C. Melo <leandro.melo@nokia.com >
2010-06-22 14:06:55 +02:00
hjk
6a6cba5518
debugger: The DebuggerEngine refactoring.
...
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).
2010-06-22 10:59:57 +02:00
hjk
9f7e9dc0ae
debugger: refactoring of output channeling
2010-06-14 18:22:09 +02:00
hjk
b3aff6b919
debugger: more of the RunControl refactoring
...
Pass output through the RunControl instead of the DebuggerManager.
2010-06-14 17:24:13 +02:00
hjk
4eb83cd8b2
debugger: basic support for address-based breakpoints
2010-04-09 15:32:33 +02:00
Friedemann Kleint
bbcacaf59f
Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4.
2010-03-18 10:59:06 +01:00
hjk
2e72118663
debugger: close disassembler buffers at the end of editing
2010-03-16 18:45:34 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
ck
d87d7694bc
BinEditor/MemoryView: Follow pointers, potentially in new window.
...
Reviewed-by: hjk
2010-02-17 17:41:09 +01:00
Friedemann Kleint
28d72550d3
Removed static QIcon instances.
...
thus fixing the exit warning:
"~QX11PixmapData(): QPixmap objects must be destroyed..."
Acked-by: con
2010-02-10 10:47:34 +01:00
hjk
ecd475c903
debugger: fall back to instructionwise stepping when debuginfo for frame is
...
missing
2010-02-01 17:01:51 +01:00
Oswald Buddenhagen
75b42f18d8
Merge remote branch 'origin/1.3'
...
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
Oswald Buddenhagen
a6ca348636
remove trailing whitespace
...
doing it in 1.3 as well to avoid possible later conflicts
2010-01-29 21:33:57 +01:00
con
7199223a6e
Merge remote branch 'origin/1.3'
...
Conflicts:
doc/qtcreator.qdoc
doc/qtcreator.qdocconf
src/app/Info.plist
src/plugins/bineditor/BinEditor.pluginspec
src/plugins/bookmarks/Bookmarks.pluginspec
src/plugins/cmakeprojectmanager/CMakeProjectManager.pluginspec
src/plugins/coreplugin/Core.pluginspec
src/plugins/coreplugin/coreconstants.h
src/plugins/cpaster/CodePaster.pluginspec
src/plugins/cppeditor/CppEditor.pluginspec
src/plugins/cppeditor/cppeditor.cpp
src/plugins/cpptools/CppTools.pluginspec
src/plugins/cvs/CVS.pluginspec
src/plugins/debugger/Debugger.pluginspec
src/plugins/debugger/debuggeragents.cpp
src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/designer/Designer.pluginspec
src/plugins/fakevim/FakeVim.pluginspec
src/plugins/find/Find.pluginspec
src/plugins/genericprojectmanager/GenericProjectManager.pluginspec
src/plugins/git/ScmGit.pluginspec
src/plugins/helloworld/HelloWorld.pluginspec
src/plugins/help/Help.pluginspec
src/plugins/locator/Locator.pluginspec
src/plugins/perforce/Perforce.pluginspec
src/plugins/projectexplorer/ProjectExplorer.pluginspec
src/plugins/qmleditor/QmlEditor.pluginspec
src/plugins/qmleditor/idcollector.cpp
src/plugins/qmleditor/idcollector.h
src/plugins/qmleditor/parser/qmljsglobal_p.h
src/plugins/qmleditor/qmlcodecompletion.cpp
src/plugins/qmleditor/qmlcodeformatter.cpp
src/plugins/qmleditor/qmlcodeformatter.h
src/plugins/qmleditor/qmlexpressionundercursor.cpp
src/plugins/qmleditor/qmllookupcontext.cpp
src/plugins/qmleditor/qmlresolveexpression.cpp
src/plugins/qmleditor/qmlsymbol.cpp
src/plugins/qmleditor/qmlsymbol.h
src/plugins/qmlprojectmanager/QmlProjectManager.pluginspec
src/plugins/qt4projectmanager/Qt4ProjectManager.pluginspec
src/plugins/qtscripteditor/QtScriptEditor.pluginspec
src/plugins/regexp/RegExp.pluginspec
src/plugins/resourceeditor/ResourceEditor.pluginspec
src/plugins/snippets/Snippets.pluginspec
src/plugins/subversion/Subversion.pluginspec
src/plugins/texteditor/TextEditor.pluginspec
src/plugins/vcsbase/VCSBase.pluginspec
src/plugins/welcome/Welcome.pluginspec
src/shared/qml/parser/qmljsast.cpp
src/shared/qml/parser/qmljsast_p.h
src/shared/qml/parser/qmljsastfwd_p.h
src/shared/qml/parser/qmljsastvisitor.cpp
src/shared/qml/parser/qmljsastvisitor_p.h
src/shared/qml/parser/qmljsengine_p.cpp
src/shared/qml/parser/qmljsengine_p.h
src/shared/qml/parser/qmljsgrammar.cpp
src/shared/qml/parser/qmljsgrammar_p.h
src/shared/qml/parser/qmljslexer.cpp
src/shared/qml/parser/qmljslexer_p.h
src/shared/qml/parser/qmljsmemorypool_p.h
src/shared/qml/parser/qmljsnodepool_p.h
src/shared/qml/parser/qmljsparser.cpp
src/shared/qml/parser/qmljsparser_p.h
2010-01-12 18:02:04 +01:00
Tobias Hunger
592e494d1a
Fix typos
...
Reviewed-by: thorbjorn
2010-01-11 10:26:13 +01:00
Friedemann Kleint
a7684cac17
Translations: Fixed tr()-message in debuggeragents.
...
Reviewed-by: hjk
2010-01-08 11:31:38 +01:00
Tobias Hunger
a6ad773722
Make method naming more consistent.
...
* Use id() for methods returning a string used to represent
some type of object.
* Use displayName() for strings that are meant to be user
visible.
* Quieten some warnings while touching the files anyway.
* Move Factories to their products in the plugins where that
was not done before.
Reviewed-by: dt
2010-01-07 18:17:24 +01:00
Thorbjørn Lindeijer
2be825784c
Fixed typo
2009-12-07 14:41:08 +01:00
Oswald Buddenhagen
c996238d70
fix error message
2009-12-04 13:55:45 +01:00
hjk
4461ec2ef5
debugger: prevent crash when trying to view memory if bin editor is
...
unavailable
2009-11-19 09:51:21 +01:00
Robert Loehning
876bce493f
Fixed dereferencing NULL-pointer.
...
Reviewed-by: dt
2009-11-04 19:30:55 +01:00
hjk
7cb1c08e36
debugger: don't leak...
2009-11-04 17:48:00 +01:00
Friedemann Kleint
f4943f3c2e
Debugger/various plugins: Fix memory leaks.
...
Reviewed-by: hjk <qtc-committer@nokia.com >
Reviewed-by: dt <qtc-committer@nokia.com >
2009-11-04 17:11:35 +01:00
hjk
751f2f6993
debugger: remove duplicated variable
2009-10-06 10:17:52 +02:00
hjk
99bdc54199
debugger: small tweaks to gotoLocation()
2009-10-02 12:31:59 +02:00