orcun-gokbulut / qml-debug

Visual Studio Code debugging support for Qt QML language
GNU General Public License v3.0
12 stars 5 forks source link

Exception events are not handled #2

Open m-seker opened 2 years ago

m-seker commented 2 years ago

The client should be able to handle exception events from QML debugger and modify the state accordingly with StoppedEvent("exception") otherwise client gets stuck in a broken state.

https://github.com/microsoft/vscode/blob/6b4b3613197627103278608c4070d809dffb260b/src/vs/workbench/contrib/debug/common/debugProtocol.d.ts#L130

https://github.com/orcun-gokbulut/qml-debug/blob/4fb32e0129379ad6dca73f6b85cccc3d0c490e61/src/debug-adapter.ts#L168

https://code.woboq.org/qt5/qtdeclarative/src/qmldebug/qv4debugclient.cpp.html#545