Replies: 2 comments 1 reply
-
You're going to have a much better time if you clone inside WSL and open the devcontainer (or clone inside a volume and then open the devcontainer). For one thing, there are performance penalties for mounting the Windows filesystem inside of Linux (as you're doing with the |
Beta Was this translation helpful? Give feedback.
-
This error means
I use privileged and interactive mode when debugging in container is needed: $ lldb -- /runtime/artifacts/<path/to/some_executable> <args of that executable>
(lldb) settings set target.disable-aslr false
# now you can set the breakpoints and `run` etc. or start lldb as For more info, see https://github.com/dotnet/runtime/tree/main/docs/workflow/debugging; some of the info is missing in our docs, so feel free to send a PR based on what you experienced setting it up. Good luck! |
Beta Was this translation helpful? Give feedback.
-
Hello everybody!
Can anybody explain me how to build .NET Runtime and debug tests inside Docker? I trying next command:
docker run -v C:\runtime\:/runtime -w /runtime mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04 ./build.sh
but result is:
Beta Was this translation helpful? Give feedback.
All reactions