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

vscode extension cannot hold debug mode #199

Open
ruiyuanlu opened this issue May 25, 2023 · 1 comment
Open

vscode extension cannot hold debug mode #199

ruiyuanlu opened this issue May 25, 2023 · 1 comment
Labels

Comments

@ruiyuanlu
Copy link

Xmake Version

2.7.8+master.d6ee79eed

Operating System Version and Architecture

windows10

Describe Bug

vscode 扩展无法自动保持 debug 模式,总是在debug模式下点击 build 按钮时,从第二次开始自动切换到 release 模式导致断点失效,而且用 release 编译的时候,vscode扩展仍然显示的是 debug 模式,每次需要先手动切换为 release,再切换为 debug 再编译,才能在编译前增加 xmake f -m debug 命令

xmake 默认是 release,那 vscode的扩展和xmake应该至少有一个能记录一下当前的模式吧?目前好像都记录不了

Expected Behavior

debug模式下,不更改编译模式,多次编译都应该是 debug,而不是只有第一次是debug

Project Configuration

No response

Additional Information and Error Logs

No response

@ruiyuanlu ruiyuanlu added the bug label May 25, 2023
@waruqi waruqi transferred this issue from xmake-io/xmake May 25, 2023
@waruqi
Copy link
Member

waruqi commented May 25, 2023

没遇到你说的问题,这边正常。。你可以拉取插件源码调试下,也可以直接 pr 来改进。

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