Kai Koehne
8cd370e163
Debugger: Fix JS debugging on Harmattan PR1.2
...
So far we assumend that the JSDebugAgent service switches to
the Enabled state after the constructor has run. That's apparently
not true for Harmattan PR1.2 (maybe the app / Qt calls process
events by hand, maybe it was a race condition from the start).
Fix this by checking the status already in the constructor, and
register ourselves as debugger agent if status == Enabled.
Change-Id: Icae189102116c8b572e05ce6c64f14b8f428ed2f
Reviewed-by: hjk <qthjk@ovi.com >
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com >
2012-01-24 15:37:13 +01:00
hjk
31600758de
all: s/info@qt.nokia.com/qt-info@nokia.com/
...
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-11-03 10:33:19 +01:00
Kai Koehne
c42e966184
JSDebugger: Only hit breakpoints in user code
...
Check that the topmost stack entry is a user defined ScriptFunction.
This avoids hitting the anonymous functions used for bindings, e.g.
onClicked: Qt.quit()
leads to script code
(function onClicked() { Qt.quit(); })
which will be hit twice for the debugger: Once for the function call
itself, then for the execution of Qt.quit().
Change-Id: I4cb374782c93a26d97d4a717ce67d1fb2f6df438
Task-number: QTCREATORBUG-5090
Reviewed-on: http://codereview.qt.nokia.com/2746
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com >
2011-08-08 16:31:44 +02:00
hjk
a322bd606f
Replace qt-info@nokia.com with info@qt.nokia.com
...
Change-Id: I61e7cf189a1c4ea04e2a88a80a4f15e43cd3c018
Reviewed-on: http://codereview.qt.nokia.com/1187
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-07-06 11:14:01 +02:00
Christiaan Janssen
85801227a9
QmlDebugger: keeping watches when changing stack frames
...
Reviewed-by: Kai Koehne
2011-04-20 17:33:26 +02:00
Oswald Buddenhagen
dc3c156cac
Merge branch '2.2'
...
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
2011-04-14 12:39:31 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
Christiaan Janssen
76212f67b0
QmlDebugger: removed prefix in expression for locals
...
Task-number: QTCREATORBUG-4462
Reviewed-by: Kai Koehne
2011-04-11 17:27:56 +02:00
Christiaan Janssen
ca3eedb8e5
QmlDebugger: hiding "this" from debugger when empty
...
Reviewed-by: Kai Koehne
2011-03-09 16:10:06 +01:00
Christiaan Janssen
1e022e921d
QmlDebugger: hiding "this" from debugger when empty
...
Reviewed-by: Kai Koehne
2011-03-09 16:08:41 +01:00
Kai Koehne
315e18d79a
QmlJsDebug: Fix regression in list of breakpoints
...
Allow more than one breakpoint per compilation unit.
2011-03-08 13:11:32 +01:00
Kai Koehne
20189574f6
QmlJsDebugger: Handle breakpoints in qrc:// resources more gracefully
...
Reviewed-by: Christiaan Janssen
2011-03-02 14:45:20 +01:00
Kai Koehne
844c34513d
QmlJSDebugger: Compare only file names for .js breakpoints
...
The file names on device might be completely different, therefore
we cannot compare the absolute path.
Reviewed-by: Christiaan Janssen
2011-03-02 14:45:20 +01:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
Kai Koehne
801c8bb6d4
QmlJSDebugger: Code cleanup
...
Fix indentation + line length.
2010-12-01 16:54:32 +01:00
hjk
0afb34d5eb
debugger: refactor breakpoint type, add function name to resolved jsbreakpoints
2010-10-29 14:31:16 +02:00
hjk
a3b24d233c
debugger: pimpl JSDebuggerAgent
2010-10-27 18:44:25 +02:00
hjk
0593aa5bba
jsdebugger: add a dummy entry to arrays that have no real children
2010-10-27 18:03:11 +02:00
hjk
f51301585e
jsdebugger: use a real structure for a stack frame in the debuggeragent
2010-10-27 17:38:00 +02:00
hjk
f93fe86be7
jsdebugger: don't output function code. it's useless.
2010-10-27 17:38:00 +02:00
hjk
63ca71c2c7
jsdebugger: use QByteArray for data transfer
...
Easier to debug, less data to transfer.
2010-10-27 17:38:00 +02:00
Kai Koehne
eff5ceea64
QmlJsDebugger: Remove dependency to Qt private headers being installed
...
Copy over the private header files to creator source tree, along the
lines of the what the designer plugin does.
Reviewed-by: Christiaan Janssen
2010-10-01 13:43:40 +02:00
Kai Koehne
f343cc4bd4
QmlJSDebugger: Update API to changes in QDeclarativeEngine
...
Reviewed-by: Christiaan Janssen
2010-10-01 13:43:40 +02:00
Lasse Holmstedt
96d991bbdc
QML Observer: Build together on runtime with debugging tools
...
Moved qmljsdebugger to a dir under qml/, made qmlobserver compile
without creator dependencies and made it compile with debugging
helpers.
Reviewed-by: hjk
2010-09-29 09:39:30 +02:00