summaryrefslogtreecommitdiff
path: root/src/plugins/debugger
Commit message (Collapse)AuthorAgeFilesLines
* debugger: remove unneeded includehjk2012-01-241-1/+0
| | | | | Change-Id: I4e8977f6317d45d6e6156de07bedf9955e93a915 Reviewed-by: hjk <qthjk@ovi.com>
* debugger: move isCppBreakpoint to Breakpointhjk2012-01-247-19/+19
| | | | | Change-Id: I241401fa010166982e5a95a699c99fbaa87188ef Reviewed-by: hjk <qthjk@ovi.com>
* debugger: remove SymbianDebugClient enumhjk2012-01-242-10/+2
| | | | | | | There is only CODA nowadays. Change-Id: I8350baed5b66947593c5850491ac9606af3b737c Reviewed-by: Paweł Polański <pawel.3.polanski@nokia.com>
* debugger: work on autotest integrationhjk2012-01-245-7/+129
| | | | | Change-Id: Iafd07a55e20cd2a65c3bcd23208c24855aeb429f Reviewed-by: hjk <qthjk@ovi.com>
* RemoteGdb: Fix setup for attaching via dialogKai Koehne2012-01-234-8/+17
| | | | | | | | | | Fix regression introduced in 9e8f935a while at the same time decoupling the 'useServerStartScript' setting from whether the engine uses requestRemoteSetup, or not. Task-number: QTCREATORBUG-6841 Change-Id: I0850ec60e0f45ac66ba6736bcb9f75fdf73c1d23 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* Debugger: Remove duplicated linesKai Koehne2012-01-231-2/+0
| | | | | Change-Id: I2257ffc837d69f37251ef7a4ba9a18afe5378767 Reviewed-by: hjk <qthjk@ovi.com>
* debugger: compile fix in lldb supporthjk2012-01-202-1/+2
| | | | | Change-Id: I5bb5aae496cc1d8b53bf4911d651a10ab52ca924 Reviewed-by: hjk <qthjk@ovi.com>
* debugger: do not disable updates on locals and expressionshjk2012-01-204-18/+2
| | | | | | | Task-number: QTCREATORBUG-5474 Change-Id: I6a2e872ac64a6ae57ff1ee9618937f0752fbb4ed Reviewed-by: David Schulz <david.schulz@nokia.com> Reviewed-by: hjk <qthjk@ovi.com>
* TC: Use FileName for debuggerCommand()Tobias Hunger2012-01-193-3/+3
| | | | | Change-Id: Ifa168b95d290bfae5c342981c4e4556d6f6913eb Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* debugger: fix recent regression of non-persistent expanded watch itemshjk2012-01-192-4/+14
| | | | | Change-Id: Iec8b37812faca5584d268712181ffeca98ef6e8a Reviewed-by: hjk <qthjk@ovi.com>
* Debugger: Fix runtime warning if QmlJsInspector plugin is not loadedKai Koehne2012-01-191-1/+1
| | | | | Change-Id: I9c8132b4af2d1664622e4574e0c442a96b88c778 Reviewed-by: hjk <qthjk@ovi.com>
* DebuggerEngine: Avoid warning when aborting in EngineShutdownRequested stateKai Koehne2012-01-191-0/+2
| | | | | Change-Id: Ib0e0a2bbf0fa7d109a3910d0814ec9edef130dc4 Reviewed-by: hjk <qthjk@ovi.com>
* QmlCppEngine: Fix warnings about invalid state changesKai Koehne2012-01-194-59/+175
| | | | | Change-Id: Iaa45ff106f5f71a2c7f4729c64c281921b855f80 Reviewed-by: hjk <qthjk@ovi.com>
* DebuggerEngine: Avoid warning when aborting in EngineSetupRequested stateKai Koehne2012-01-191-0/+3
| | | | | | | This can happen e.g. inside the QmlEngine as part of a QmlCppEngine. Change-Id: Id649086b3febe91e73d4784f3abb7f6d7a0d0d50 Reviewed-by: hjk <qthjk@ovi.com>
* ScriptConsole: Keep HistoryAurindam Jana2012-01-181-11/+2
| | | | | | | Keep History when view port is cleared. Change-Id: I6b2d3bdb2b7bbb78cbcb891820a355ba6b074e6f Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* debugger: enable forceful abort of mixed qml/cpp enginehjk2012-01-182-0/+8
| | | | | Change-Id: I815f0bf91e8ca58c9e472f81a234834dc341f29d Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* ScriptConsole: Show current contextAurindam Jana2012-01-183-10/+19
| | | | | | | | | Show the current context in the script console. The expression in the script console is evaluated within this context. Change-Id: Ieb4cfc3e0892b150301f4ad79220cd878dee3ce3 Reviewed-by: hjk <qthjk@ovi.com> Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* ScriptConsole: Output of expressionAurindam Jana2012-01-182-45/+31
| | | | | | | | Show the output of console.log correctly when evaluated in the script console. Change-Id: I7ca3393f0db21cb02b8546c17c4c8756d907b8ec Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* debugger: don't allow L&E expansion while inferior runshjk2012-01-171-1/+1
| | | | | Change-Id: I1179f2b3b0f1e0099e5ab2a30b09e1216cd68fd7 Reviewed-by: hjk <qthjk@ovi.com>
* debugger: grey out Locals&Expressions when not accessiblehjk2012-01-174-2/+37
| | | | | Change-Id: I61489b9a5bf117be154ed6899beb3f8294247c9e Reviewed-by: hjk <qthjk@ovi.com>
* debugger: handle RunToLine and JumpToLine in assemblerhjk2012-01-171-7/+14
| | | | | | | | ... even when not using the context menu. Task-number: QTCREATORBUG-6811 Change-Id: I1dae875a4c573eba345c6a87cdb0ea24dc50c235 Reviewed-by: hjk <qthjk@ovi.com>
* Use Utils::FileName in abiTobias Hunger2012-01-172-3/+3
| | | | | | | | | Use FileName when passing in a file to extract ABIs from. Also convert some helper functions in baseqtversion to use FileNames in favor of normal strings. Change-Id: I41c724c4c05bb4ff0d8b832f84fffa08d64762d9 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* QmlCppEngine: Properly handle requestRemoteSetupCallsKai Koehne2012-01-172-5/+25
| | | | | | | | | Remember which engines called requestRemoteSetup. Change-Id: I75d11a21f0ebcbce1bba0aa4f653d1cc35b43483 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com> Reviewed-by: hjk <qthjk@ovi.com> Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
* QmlEngine: Move setup logic from setupInferior to setupEngineKai Koehne2012-01-171-21/+20
| | | | | | | | This is more in line with e.g. the gdb engine, which also emits requestRemoteSetup in setupEngine(). Change-Id: I1c2a4c56d6f190a3043ea8a18d2bb28c9d340826 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
* debugger: show address of the target object when auto-dereferencinghjk2012-01-161-1/+1
| | | | | | Task-number: QTCREATORBUG-6813 Change-Id: Iaf1436a41cd22f46e8a8c369f942a3dba127cc6e Reviewed-by: hjk <qthjk@ovi.com>
* debugger: compile fixhjk2012-01-162-4/+5
| | | | | | | Un-breaks cdb engine after 24177e67dea. Change-Id: Ibf99e1de4178a3d92a213266ecae490db437ca7a Reviewed-by: hjk <qthjk@ovi.com>
* debugger: replace static capability check by something potentially dynamichjk2012-01-1623-111/+86
| | | | | | | This does not yet use the potential. Change-Id: I087311fb7d59b46e49f65a84c4420c72a1227ebb Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
* ScriptConsole: RefactorAurindam Jana2012-01-163-47/+73
| | | | | | | | | | Clean up QmlEngine specific code from debbuger plugin. The logic to check if the current debug engine is qmlengine is done by scriptconsole. It also listens to debug engine state transitions to enable/disable itself accordingly. Change-Id: If21b1167e870e87166b2f7fd6f3283063e47ded0 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* Debugger: Fix method names in commentKai Koehne2012-01-131-1/+1
| | | | | Change-Id: I269fdecce845f3cc0e8b70fbf5f7278a0eb00910 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* debugger: compile fix with namespaceshjk2012-01-131-0/+2
| | | | | Change-Id: Ibab39837fce51d2606343fdcef138fe0e6a7d69a Reviewed-by: hjk <qthjk@ovi.com>
* ScriptConsole: Filter debug outputAurindam Jana2012-01-132-14/+94
| | | | | | | | Use check boxes to filter debug output for Log, Warning and Error. Change-Id: I312d51ef692c1136843afce5dc67ec99ab0f77f8 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* debugger: better guess at engine capabilities in dummy enginehjk2012-01-132-1/+24
| | | | | Change-Id: Ia37086a126df7f7d84b9509c54472c5d9be6b4ef Reviewed-by: hjk <qthjk@ovi.com>
* Let Command construct its description (former defaultText) itself.Eike Ziller2012-01-121-6/+6
| | | | | | | | Instead of doing it duplicated in the general and the fakevim shortcut settings. Change-Id: Id4b0e5b0630f1e94c825528f1c038776dc205aa3 Reviewed-by: hjk <qthjk@ovi.com>
* debugger: we do not need the output of -stack-select-framehjk2012-01-121-1/+1
| | | | | Change-Id: I4eac412f0505efa356bf6e185e8d45d669b9f511 Reviewed-by: hjk <qthjk@ovi.com>
* debugger: sort entries in Windows->Views the same way as in the dock context ↵hjk2012-01-123-2/+20
| | | | | | | | menus Task-number: QTCREATORBUG-6179 Change-Id: I1bc02ebce6de7ff5c12d7baf7c585a414f3972d5 Reviewed-by: hjk <qthjk@ovi.com>
* QmlAdapter: Set the debug client when status is enabledAurindam Jana2012-01-121-1/+3
| | | | | Change-Id: Ife17f8c9fc7eeacbf1b3a8929cff7b4aa6918c86 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* debugger: also translate special strings when editing values in L&Ehjk2012-01-121-29/+32
| | | | | | Task-number: QTCREATORBUG-5839 Change-Id: I5720a679d2ef29cf870e12760964525bec141d0e Reviewed-by: hjk <qthjk@ovi.com>
* RemoteGdb: Request remote setup also if no start script should be usedKai Koehne2012-01-121-10/+8
| | | | | Change-Id: I75ac2792b19cdb2f06ae07a59b6c9c2b2574084a Reviewed-by: hjk <qthjk@ovi.com>
* debugger: make Shift-F5 exit when debugging a core filehjk2012-01-111-2/+2
| | | | | | Task-number: QTCREATORBUG-6111 Change-Id: I18c10412ac9637261bd4d83dcd7e6bbff6fdbe03 Reviewed-by: hjk <qthjk@ovi.com>
* QmlDebugging: Evaluating expressionAurindam Jana2012-01-111-62/+75
| | | | | | | | Update Locals when evaluating expression and also when activating a specific stack frame. Change-Id: I40ef12e980e67add98c7cad1ec4cd615bf4763ec Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* QmlJSDebug: Add a Debug Message ClientAurindam Jana2012-01-114-5/+75
| | | | | | | | QDebugMessageClient uses the QDebugMessageService to retrieve and emit the debug output. Change-Id: Id02d148954dfa613d3fd317b4a533cfed34e345b Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* ProjectExplorer: use enum instead of QString for run modehjk2012-01-114-26/+19
| | | | | | Change-Id: Ia906944a489b09afdea59f74afbf759b4caebe37 Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com> Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* ScriptConsole: Refactor extra selections codeAurindam Jana2012-01-101-11/+5
| | | | | Change-Id: I251dc5646bfcf1da386939bb8309b8db6cd2eeaa Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* debugger: fix regression in breakpoint context menuhjk2012-01-101-0/+2
| | | | | | Task-number: QTCREATORBUG-6790 Change-Id: Id09d6f4ad20b9fa0f4b08ad61715ea963d639f5c Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
* debugger: don't accept rich text in the gdb startup commandshjk2012-01-101-1/+1
| | | | | | Task-number: QTCREATORBUG-6771 Change-Id: I9fbb1f275561d9ea422781af3740257235269197 Reviewed-by: hjk <qthjk@ovi.com>
* QmlDebugging: Remove BreakpointByFunctionAurindam Jana2012-01-091-6/+0
| | | | | | | | Remove BreakpointByFunction capability as it is not supported by the v8debugservice. Change-Id: I60e3d0d6f5669f83fa621cd99f25512cad3dbb96 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* changed mode of stub to Utils::ConsoleProcess::SuspendDavid Schulz2012-01-091-1/+8
| | | | | | | | for gdb under Vista an newer Windows versions fixes skipping a breakpoint in the first lines in these versions Change-Id: I611ef0244cb7ceca9e86ed35220ab3200cc55c45 Reviewed-by: hjk <qthjk@ovi.com>
* QmlDebugging: Implement RunToLine capabilityAurindam Jana2012-01-096-7/+68
| | | | | Change-Id: I153c30310ac318d2de8b9a96c6d1e7f80439d306 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* QmlDebugging: Breakpoint dataAurindam Jana2012-01-091-37/+50
| | | | | | | | Set the function name in the break parameters when the breakpoint is hit. Change-Id: I40d13f273808f7ea44a7fd8c41284ee7f476d286 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* QmlDebugging: Handle interruptAurindam Jana2012-01-071-23/+37
| | | | | | | | Handle the case where debug break is due to interrupt and not due to hitting a breakpoint. Change-Id: I080ef779558432f9285fb94aaed548ecf476fb91 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>