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

`debugger:native` no longer generates pdb file with `cc:vcc` #11405

Closed
nc-x opened this issue Jun 5, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@nc-x
Copy link
Contributor

commented Jun 5, 2019

nim c --cc:vcc --debugger:native t.nim used to generate pdb file. Now it no longer does it.

According to --listCmd, these parameters are not being passed during linking phase to vccexe.

Nim/config/nim.cfg

Lines 260 to 261 in 9230862

vcc.options.debug = "/Zi /FS /Od"
vcc.cpp.options.debug = "/Zi /FS /Od"

@nc-x

This comment has been minimized.

Copy link
Contributor Author

commented Jun 5, 2019

Is there something like vcc.options.linker.debug and vcc.cpp.options.linker.debug available in nim.cfg? If yes, then they need to have "/Zi /FS /Od" as well.

@Araq

This comment has been minimized.

Copy link
Member

commented Jun 5, 2019

I prefer to patch extccomp.nim these days. Less confusing to debug the logic when it's not split between configuration and code.

@Araq Araq closed this in 8cc9753 Jun 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.