dotnet / dotnet/symreader-converter

Unable to debug with Portable PDB

Open
#206 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
70
Forks
44
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.