Skip to content

Add a "debug" mode with help of sampctl and/or crashdetect to listen for run time errors and/or server crashes #9

@AGraber

Description

@AGraber

I don't know if the vscode API would allow for this (since debugs should have full support for breaking) but it would be cool to have some kind of debug mode when running the package in normal mode or running tests.

This debug mode would be listening the output for runtime errors that crashdetect would output, maybe with the help of sampctl if needed. In the occurrence of a server crash or a run time error, vscode would probably trigger some "fake" break (or something similar or cleaner, I don't know about what the vscode API allows) to directly pinpoint the affected file and line if available, in a similar to how exceptions are pinpointed when debugging C++ in vscode. Obviously, since there's (unfortunately) no plugin/tool to stop and actually debug that yet, there would be no stop at all.

It would be very useful specially when running tests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions