corert icon indicating copy to clipboard operation
corert copied to clipboard

Missing debugging symbols for System.Private.* stuff

Open MichalStrehovsky opened this issue 10 years ago • 3 comments

After running build.cmd, the location at bin\Product\Windows_NT.x64.Debug\.nuget\publish1\sdk only has DLL files, but PDBs are missing.

RyuJIT.rsp picks up System.Private.* libraries from this location, but ILC can't find the symbols.

I gave myself 5 mins to figure this out, but I couldn't find the spot where this directory is populated :/

MichalStrehovsky avatar Feb 25 '16 10:02 MichalStrehovsky

@schellap If you can give me some pointers, I can look into it. Or you're also welcome to fix this :)

It's possible to work around this by manually copying the PDBs into that location (which is what I've been doing in the past few days).

MichalStrehovsky avatar Feb 25 '16 10:02 MichalStrehovsky

You can copy the pdbs into this folder temporarily. May be as a build step also. I can TAL tomorrow.

Purely CLI way would be to make symbol packages and restore those as well as dependencies in the stage1 project.json. With the current publish1 folder, rather than xcopy based binplace, we get the value of just using dotnet to validate our stuff which is useful for maintaining contracts and shipping. But I don't see much value purely for internal testing to produce symbol packages.

schellap avatar Feb 25 '16 12:02 schellap

For our internal debugging in VS, we should fix up ryujit.rsp (using powershell or something similar) to have the right paths, so that F5 just works (even for changes in System.Private.CoreLib). Right now, I am working around this by editing paths in ryujit.rsp to point to \corert\bin\Product\Windows_NT.x64.Debug.

#907 is tracking the fix for the end user case.

jkotas avatar Feb 26 '16 03:02 jkotas