Breakpoints in managed code with gdb on Linux doesn't work
I tried to set breakpoints in managed code with gdb on Linux. The breakpoints are not hitting. Also "info function" doesn't include the list of managed functions. I can see the function names in the frame, so I am assuming the symbols are there. gdb version 7.7
It didn't work for me with lldb on OSX either.
OSX is known https://github.com/dotnet/corert/issues/2625
@shrah Realized that it's the framework code break points that don't work , did you try a break point in any user code ..
We are probably not reading the symbols for System.Private assemblies. You can probably hack it locally to place the PDBs next to the IL DLLs. This is related to #941 and #907.
@tijoytom I tried setting breakpoint in user code, unfortunately that didn't work either :(
@MichalStrehovsky I just verified the pdbs are there for System.Private* next to the dlls. However, I noticed that the pdb sizes are smaller than dll. For example, System.Private.CoreLib the dll size is 2.1MB whereas the pdb size is 0.8 MB. I wonder whether these are public PDBs or not.
These are portable PDBs, and yes - they are small :-)
Is this issue still occurs on the current version of the corert?
It works for me too. I assume that this issue can be closed.