runtime
runtime copied to clipboard
Unable to debug executable files with spaces in their names on Linux
If you have an executable that spaces in its name (i.e. "exe with spaces"), debugging it on linux doesn't work. We never get the clr runtime loaded notification.
The issue seems to be in pal/src/thread/process.cpp on line 1907. sscanf fails to parse stat file contents as it find more tokens in it than expected. In debug bits I hit the assert on line 1913.
OSX debugging works fine as it uses a different mechanism for GetProcessIdDisambiguationKey.
Just running the app without the debugger hits an assert in debug build.