summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/breakwindow.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Contact -> qt-project.orgEike Ziller2012-07-191-3/+1
| | | | | Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Fix the rest of the warnings about integer sign change with ICCThiago Macieira2012-05-221-1/+1
| | | | | | | | | | None of these change the code in any way. The solutions applied are: - change the type to a more appropriate one, if possible - use ~0 instead of -1 when flags were intended - cast a -1 to the proper type otherwise Change-Id: Ifcc125528f32b8c8f9ab20bea103e2a693045bf8 Reviewed-by: hjk <qthjk@ovi.com>
* BreakHandler: DebuggerEngine for breakpointIdAurindam Jana2012-05-041-7/+9
| | | | | | | | | Suppress ASSERT if id is invalid. This prevents printing <invalidBkpt> when adding the first breakpoint using the breakpoint dialog. Change-Id: I3c989981cdbac597e8f314c0146507e5bb6c797d Reviewed-by: hjk <qthjk@ovi.com>
* QmlDebugger: Refactor QML Signal HandlerAurindam Jana2012-04-161-3/+3
| | | | | | | | | | Refactor QML Signal Handler to QML Signal Emit. This is because the debugger breaks when a matching signal is emitted irrespective of whether there is a handler connected to the signal. Change-Id: I852ace75c1962290717ed127ac5938d7505b9a7e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: hjk <qthjk@ovi.com>
* debugger: rework the searchable viewhjk2012-03-291-30/+39
| | | | | | | | This reverts most of commit 32ec60958dc21dc2ccacce0e320a93e72dd5d379 and keeps the tree widgets fully accessible. Change-Id: I34422c175bc43261bb8fe48e0130acb71cdfd721 Reviewed-by: hjk <qthjk@ovi.com>
* debugger: make views searchablehjk2012-03-221-18/+13
| | | | | Change-Id: Icade50bfaa884d88e451e688acf62d6793346628 Reviewed-by: hjk <qthjk@ovi.com>
* Debugger: use QString::fromLatin1 instead of QString::fromAsciiDenis Mingulov2012-02-161-1/+1
| | | | | | | | | | | | | | | | | | | By source - latin1 is really expected as there is no any check or usage of QTextCodec::setCodecForCStrings() currently. QString::fromAscii() might break 'Latin1' input in some cases. A quote from documentation about QString::fromAscii(): "Note that, despite the name, this function actually uses the codec defined by QTextCodec::setCodecForCStrings() to convert str to Unicode. Depending on the codec, it may not accept valid US-ASCII (ANSI X3.4-1986) input. If no codec has been set, this function does the same as fromLatin1()." Change-Id: I49cf047ca674d2ec621b517c635d1927bb2e796f Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: hjk <qthjk@ovi.com>
* Removed module names from #include directives.Erik Verbruggen2012-02-151-5/+5
| | | | | | | | Getting the #include directives ready for Qt5. This includes the new-project wizards. Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Long live the king!hjk2012-01-261-1/+1
| | | | | Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2 Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
* debugger: replace static capability check by something potentially dynamichjk2012-01-161-22/+18
| | | | | | | This does not yet use the potential. Change-Id: I087311fb7d59b46e49f65a84c4420c72a1227ebb Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
* Debugger: Compile with QT_NO_CAST_FROM_ASCII.Friedemann Kleint2011-12-211-1/+1
| | | | | | | | (except gdbmi.cpp, name_demangler.cpp). Remove some unneeded conversions, change some maps to take QByteArray keys. Change-Id: I010f1251998a441fe5c8c87901b1e0c277c0391c Reviewed-by: hjk <qthjk@ovi.com>
* Debugger: Hide memory related actions in context menus for QML onlyKai Koehne2011-12-011-1/+2
| | | | | Change-Id: I29f09f983146fff3301426703db0b93090c6507c Reviewed-by: hjk <qthjk@ovi.com>
* BreakDialog: BreakpointAtJavaScriptThrowAurindam Jana2011-11-031-1/+4
| | | | | | | Show only the Enabled field for BreakpointAtJavaScriptThrow type. Change-Id: Ib4908b4a7826329a98105112c612963624586115 Reviewed-by: hjk <qthjk@ovi.com>
* all: s/info@qt.nokia.com/qt-info@nokia.com/hjk2011-11-031-2/+2
| | | | | Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* BreakDialog: Command and Message Fields.Aurindam Jana2011-10-221-4/+14
| | | | | | | | Enable command and message fields for only those breakpoint types that require Tracepoint part. Change-Id: Id4d9e3447f85dad6fecb3e0f2f178cb3dff2f718 Reviewed-by: hjk <qthjk@ovi.com>
* V8DebuggerClient: Enable breakpoints on ExceptionsAurindam Jana2011-10-111-2/+5
| | | | | | | | | | | Previously break on exceptions was always enabled. Now, the user can add a breakpoint on Javascript Exceptions from the breakpoint window in the debugger. Change-Id: Ia9ee813d2fccf89b607fe1dcbad47b4084155a48 Reviewed-on: http://codereview.qt-project.org/6348 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* Debugger: Change BreakpointOnSignalHandler to BreakpointOnQMLSignalHandlerAurindam Jana2011-09-301-3/+3
| | | | | | | | Change-Id: Ic71299c38863cdb55862ced7348b2bdc9cf39555 Reviewed-on: http://codereview.qt-project.org/5743 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* debugger: use common baseclass for all dock treeviewshjk2011-09-301-45/+8
| | | | | | | | Reduces amount of boilerplate code. Change-Id: I048d901b4b80860df05f09b48650ea58b83fbc66 Reviewed-on: http://codereview.qt-project.org/5864 Reviewed-by: hjk <qthjk@ovi.com>
* JSDebugger: Enable break on events.Aurindam Jana2011-09-161-2/+10
| | | | | | | | | | | | The user can request Javascript break on event. The user can provide this info in the Breakpoints Window and provide the slot which will be called when the event occurs. For example: specify "onTriggered" if you need to break on Timer triggered event. Change-Id: If936d7402f5978a182132fdcca75515588364e16 Reviewed-on: http://codereview.qt-project.org/4758 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
* debugger: remove dead codehjk2011-09-011-6/+1
| | | | | | Change-Id: I1b06ed78d3942607543a0b18eba8c369c15d5e22 Reviewed-on: http://codereview.qt.nokia.com/4085 Reviewed-by: hjk <qthjk@ovi.com>
* debugger: use saved "resize columns to contents" settingshjk2011-07-081-0/+4
| | | | | | | | | Change-Id: I88d50205d6ba626e0b4bf66879271fafab81e8cb Reviewed-by: con Task-number: QTCREATORBUG-5320 Reviewed-on: http://codereview.qt.nokia.com/1379 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
* Debugger: Add infrastructure for message tracepoints.Friedemann Kleint2011-06-271-0/+3
| | | | | | | | | | | | | | Add context menu to add a 'message tracepoint', that is, a trace point that outputs a user message and continues. Intended to be a replacement for manually inserting a qDebug() into the code to understand the call sequence. Yet to be implemented for gdb. Change-Id: I1c303001421fbbae74d98d15d52718579350db6e Rubber-stamped-by: hjk Reviewed-on: http://codereview.qt.nokia.com/756 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
* debugger: split BreakpointIndex into plugin and debugger specific parthjk2011-06-271-15/+15
| | | | | | Change-Id: I21d10cf42eb039c74475e106537b6e107d155196 Reviewed-on: http://codereview.qt.nokia.com/745 Reviewed-by: hjk <qthjk@ovi.com>
* debugger: display "sub-breakpoints"hjk2011-06-201-0/+1
| | | | | | | | | | <MULTIPLE> happens in constructors, inline functions, and at other places like 'foreach' lines. Change-Id: Ifb89b659d279f257ba8295b80a35d605820ec54b Reviewed-on: http://codereview.qt.nokia.com/498 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: hjk <qthjk@ovi.com>
* debugger: remove spurious parantheses in user visible stringhjk2011-05-111-2/+2
|
* debugger: work on watchpoints (or, "data breakpoints" as they are called now)hjk2011-05-101-3/+3
|
* debugger: "Add breakpoint" dialog cosmeticshjk2011-05-091-3/+4
|
* debugger: introduce watchpoint-by-expressionhjk2011-05-091-26/+35
|
* Fix/add copyright headersTobias Hunger2011-05-061-1/+1
| | | | Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
* Debugger: Separate internal constants.Friedemann Kleint2011-04-211-0/+1
|
* Merge branch '2.2'Oswald Buddenhagen2011-04-141-14/+13
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/debugger/gdb/pythongdbengine.cpp src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp src/plugins/qt4projectmanager/qt4target.cpp src/plugins/qt4projectmanager/qt4target.h src/plugins/qt4projectmanager/qtoptionspage.h src/plugins/qt4projectmanager/qtversionmanager.cpp src/plugins/welcome/welcomemode.cpp
| * Update license.hjk2011-04-131-14/+13
| |
* | Merge remote branch 'origin/2.2'con2011-04-011-10/+14
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: src/plugins/debugger/gdb/gdbengine.cpp src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp src/plugins/qt4projectmanager/qt-maemo/maemoglobal.h src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp src/plugins/qt4projectmanager/qt-s60/rvcttoolchain.h
| * Update source stringsJarek Kobus2011-03-301-2/+2
| | | | | | | | Reviewed-by: Pawel Polanski
| * debugger: Merge 'fork' and 'vfork' breakpointshjk2011-03-291-8/+12
| | | | | | | | Reviewed-by: Friedemann Kleint
* | febugger: prepare for saner handling of changed breakpointshjk2011-03-291-6/+10
|/
* debugger: persist 'AlwaysAdjust*ColumnWidths' settingshjk2011-03-161-13/+5
| | | | Task-number: QTCREATORBUG-2836
* debugger: add possibility to break on fork, vfork, exec, syscallhjk2011-03-041-26/+31
|
* Fix Krazy code scanning tool warnings (QString, loops, spelling).Friedemann Kleint2011-02-251-1/+1
|
* Debugger: Make tracepoints a capability.Friedemann Kleint2011-02-211-18/+30
|
* Debugger: Change UseFullPath setting to an enumeration.Friedemann Kleint2011-02-171-4/+15
| | | | | | | Introducing EngineDefault such that CDB/LLDB can use full paths by default and gdb can use short paths. Reviewed-by: hjk
* debugger: show more detail for "special" breakpoints in breakwindowhjk2011-02-141-1/+1
| | | | main/throw/catch
* Debugger: Make breakpoint capabilities more fine-grained.Friedemann Kleint2011-02-071-32/+38
| | | | | Diffentiate between different condition parts in Breakpoint dialog. Fix up 3a100e8d7c64d6b84bf4c1849b6097cc1e3a5139 for CDB.
* Debugger: Make breakpoint capabilities more fine-grained.Friedemann Kleint2011-02-071-11/+31
| | | | | | Handle in editBreakpoint(). Acked-by: hjk
* Debugger: Add 'command[s]' to breakpoints, polish BP dialogs.Friedemann Kleint2011-02-041-30/+59
| | | | | Add commands (CDB, gdb with '\n' delimiter for multiple), rearrange dialogs, make ignore count a spin box.
* Debugger: Fix breakpoint dialog.Friedemann Kleint2011-02-041-2/+4
| | | | | Update model once a breakpoint is added, set initial state of dialog.
* Debugger[CDB]: Refactor breakpoint handling.Friedemann Kleint2011-02-031-0/+6
| | | | | | | | | | | Add a command to list breakpoints enabling id access. Implemented breakpoint handling similar to gdb using breakpoint ids (no longer delete and re-set all breakpoints on a change). Save the module that is reported back in the session so that it can be re-used for the next start. Keep a per-debugger-session cache of fileName->Module for adding breakpoints to accelerate setting breakpoints in the same file. Polish the breakpoint tooltip.
* Debugger: Add a module to breakpoint.Friedemann Kleint2011-02-021-18/+28
| | | | | | | To speed up CDB, lldb. Add to dialogs, serialize. Move breakpoint.ui into Debugger::Internal, add buddies. Rubber-stamped-by: hjk
* It's 2011 now.con2011-01-121-1/+1
| | | | Reviewed-by: hjk
* Debugger: Header cleanupFriedemann Kleint2011-01-101-6/+0
|