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

Unable to debug with Portable PDB #206

Open
darthvedavyas opened this issue Jun 16, 2021 · 0 comments
Open

Unable to debug with Portable PDB #206

darthvedavyas opened this issue Jun 16, 2021 · 0 comments

Comments

@darthvedavyas
Copy link

I need to debug my .net application (simple hello world console app) using Mono on linux. When I convert the windows PDB to portable PDB, deploy the portable PDB to the linux environment, and try to debug it mono debug extension of VS Code, it doesn't work.
However, if I compile the executable using embedded PDB, and then use the pdb2pdb tool to extract the PDB and convert it to Portable PDB, deploy this portable PDB to the linux environment, then I am able to debug the code.
I am also able to debug the code by using the portable PDB generated by Visual Studio 2017 itself. the portable PDB and PDB2PDB tool is exactly same size, If I use PDB2XML I get the same output, however, I do notice changes in binary comparison between the files.

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

No branches or pull requests

1 participant