Debug system libraries in docker container
Answered
Is it possible to debug system library code running in a docker container (Step Into or set breakpoint in decompiled sources)?
What I tried:
- Setup new console application
dotnet new console -o Test
- Setup Dockerfile
FROM mcr.microsoft.com/dotnet/aspnet:3.1
WORKDIR /app
COPY . ./
ENTRYPOINT ["dotnet", "Test.dll"] - Setup Build/Debug configuration and start debugging. Breakpoint on
Console.WriteLine("Hello World!");is getting hit, but I can't step into the Console.WriteLine call, whereas while debugging locally and not in a docker container I can.
Please sign in to leave a comment.
Hello Michael,
There is a similar complaint on our tracker: RIDER-56729. Would you be so kind to collect the logs with Trace for Debug as it described in the issue and attach the resulting log bundle to it? Please keep watching the issue on tracker, it is handled by the dedicated developer there.
Hi Olga
Thank you very much for the update, just noticed on the linked issue that it is not possible at the moment.