eclipse-cdt-cloud / cdt-gdb-adapter

CDT GDB Debug Adapter
Eclipse Public License 2.0
27 stars 40 forks source link

Improved Error Handling for getAddr & sendCommand #291

Closed WyoTwT closed 8 months ago

WyoTwT commented 10 months ago

If an array is optimized out, the 'getAddr' method of GDBDebugSession will fail so add try-catch. Improve debugging of sendCommand by capturing the stack where the request originated instead of the stream read/parsing of message.

WyoTwT commented 8 months ago

The sendCommand changes were merged in https://github.com/eclipse-cdt-cloud/cdt-gdb-adapter/pull/296 and as a result I'm closing this PR.