runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Update Windows debugging instructions

Open bendono opened this issue 11 years ago • 1 comments

The Windows debugging instructions appear to be out date with the current implementation.

From the instructions, steps 2, 6, and 8 are no longer valid.

  1. Open \binaries\Cmake\CoreCLR.sln in VS.

Perhaps this is a regression, but CoreCLR.sln is now found in binaries\intermediates\Windows_NT.x64.debug.

  1. Set Command=$(SolutionDir)..\product$(Platform)$(Configuration)\corerun.exe

Due to (2), the Command path will no longer resolve. Further, $(Platform) is "x64", but this should now be "Windows_NT.x64.debug". Also, while minor, "product" should be "Product".

Changed to: $(SolutionDir)....\Product\Windows_NT.x64.debug\corerun.exe

  1. Set Working Directory=$(SolutionDir)..\product$(Platform)$(Configuration)

Due to (2), this no longer points to the CoreCLR binaries. Changed to: $(SolutionDir)....\Product\Windows_NT.x64.debug

Need confirmation:

  • Is the change from binaries\Cmake to binaries\intermediates\Windows_NT.x64.debug intentional?
  • Windows_NT.x64.debug contains three pieces of information that may be better split into multiple folders, such as \Windows_NT\x64\debug. The order could be changed, but this could re-enable use of the VS macros such as $Configuration ("Debug") and $(Platform) ("x64").

bendono avatar Mar 24 '15 06:03 bendono

The Windows debugging instructions have been updated. Please feel free to reopen this if you have additional questions.

tzwlai avatar May 12 '16 00:05 tzwlai