Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on_run is not invoked if Visual Studio is unable to start debugger for unknown toolchains #5602

Open
ArgoreOfficial opened this issue Sep 11, 2024 · 1 comment
Labels

Comments

@ArgoreOfficial
Copy link

Xmake Version

2.9.4

Operating System Version and Architecture

Windows 10

Describe Bug

When working with a custom toolchain, pressing Start in Visual Studio 2022 throws an error for a missing debugger.
There doesn't seem to be a way to run custom debuggers at the moment, so I hoped I could invoke the platform debugger with on_run as a workaround, but it is not called if the application fails to start.

Expected Behavior

If Visual Studio does not have a debugger, on_run should still be invoked.
Or preferably, allow a custom debugger to be added to the toolchain. Related #5554

Project Configuration

cannot provide

Additional Information and Error Logs

Visual Studio:
Unable to start debugging. Check your debugger settings by opening project properties and navigating to 'Configuration Properties-->Debugging'

@waruqi
Copy link
Member

waruqi commented Sep 11, 2024

vs/vsxmake generator does not support the custom debugger.

only xmake run -d command will load custom debugger.

xmake f --debugger=/xxxx
xmake run -d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants