George George

George George

  • NA
  • 778
  • 0

debugging release version build issue in managed code

Oct 5 2008 4:08 AM

Hello everyone,


I met with issues about debugging native code before -- more details it is about optimized release mode x64 code which will use register to store variable which will block debugger from monitoring the variable value.

Today, I debugged a managed program, also in release build for the managed program, but I do not compile it with x64, and it is for "Any CPU". I met with the same issue and when see the assembly code, it has the same pattern that putting some variable in register prevents debugger to see its value.

My question is, I am not 100% confident enough (since the build is not for x64 release, but for "Any CPU" release, different build option from the native code issue before) and I want to confirm with you the same issue happens not only in native code in x64 release mode, but also in managed code in release "Any CPU" mode?


thanks in advance,
George