Implement exceptions (stop in / after cob_runtime_error)
When reporting #12 (comment 334) I was excited to see the way exceptions are handled (red box showing up containing the exception's description).
It would be nice to handle all error messages that come from libcob (all running through cob_runtime_error
) that way, effectively stopping the program before the normal exit(1)
is called.
This has the benefit of being able to inspect the program's state in this case. Ideally this would be handled in cobcd.py first (and the vsix-extension could then use that) - see cbl-gdb#47 for tracking this.
Note: strangely the workaround I've applied and that works in plain GDB does not work in this extension.