Aurindam Jana
29c0f0bfef
Debugger: Client Service synchronization
...
Sends connect command after all initial commands have been sent.
This ensures that the initialization is complete before the start
of the debugging session.
Change-Id: I1903caa9c213fef4e6b40df89a352d80e350a46d
Reviewed-on: http://codereview.qt.nokia.com/3526
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com >
2011-08-25 11:48:50 +02:00
Aurindam Jana
21e50d82df
Debugger: Set breakpoints on actual locations in code
...
This fix sets moves breakpoints on commented lines to the next executable line.
Change-Id: Ie9ca8a7c6e0360ce4a916053ef7aedd1cc28484d
Reviewed-on: http://codereview.qt.nokia.com/3525
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com >
2011-08-25 11:48:22 +02:00
Aurindam Jana
3edc756ad7
Improved breakpoint handling in qmlv8debuggerclient
...
Breakpoints are resolved and set only after querying for their actual locations from v8 engine.
Change-Id: If119865f50d9f91a4930096751599a4f22bc9d26
Reviewed-on: http://codereview.qt.nokia.com/3406
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
2011-08-23 15:40:10 +02:00
Aurindam Jana
6b8b2e63ea
Refactoring v8debuggerclient and scriptdebuggerclient
...
Change-Id: Ifa2e9a9901a166907bd7c3999421146b07bd1c59
Reviewed-on: http://codereview.qt.nokia.com/3328
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com >
2011-08-23 15:35:26 +02:00
Aurindam Jana
2b84f9f369
Synchronize the client with the debug service
...
The v8 engine is blocked till the client is connected to the service to ensure proper hitting of breakpoints.
Task-number: QTCREATORBUG-5412
Change-Id: Iec772cb547a31fef4cccbd4bb1116699c52d20e5
Reviewed-on: http://codereview.qt.nokia.com/3308
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2011-08-23 15:35:03 +02:00
Aurindam Jana
879766d85c
Notify disconnect to debug server when inferiorshutdownrequested
...
Change-Id: I15bb1342f647362cb00e4b0d0453b663a2d3f637
Reviewed-on: http://codereview.qt.nokia.com/3095
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com >
2011-08-17 14:48:14 +02:00
Aurindam Jana
1b2f1f102e
Changed the behaviour of setting breakpoints in qml files.
...
Delegates setting of breakpoints to functions that set/reset/change the breakpoint one at a time.
Change-Id: I553a74b05cf19c9d2436344db67bc962da18457f
Reviewed-on: http://codereview.qt.nokia.com/3082
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
2011-08-17 12:59:43 +02:00
Robert Loehning
f50bea96a5
Avoid warning from MSVC
...
MSVC will warn if it finds */ outside of a comment
Change-Id: Ie25fd0d2793946817abfa778a6d475e881df1859
Reviewed-on: http://codereview.qt.nokia.com/2914
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com >
2011-08-12 15:44:34 +02:00
Kai Koehne
20703bff86
QmlDebugger: Remove unused code
...
Change-Id: I0b92c281e0d1cfd3e4d5a4e56544fde41a0f22a6
Reviewed-on: http://codereview.qt.nokia.com/2788
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2011-08-11 13:18:44 +02:00
Aurindam Jana
ab574ba88d
Delegate javascript debugging to Script and V8 debugger clients.
...
The appropriate client handles the debugging based on the service available at the server side.
Change-Id: I46b66036f700fc7e45e8b38cef7f1ce1445b1122
Reviewed-on: http://codereview.qt.nokia.com/2497
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2011-08-03 11:27:38 +02:00