How to debug Visual Studio in 64-bit

19,793

Not sure what language but if it's C# ...

The default build setting for C# projects is an x86 build in debug mode in Visual Studio 2010. To debug in 64 bit you simple need to change the build setting to 64 bit.

  • Right click on the project and select properties
  • Switch to the build tab
  • Change "Platform Target" to x64
Share:
19,793
user959631
Author by

user959631

Updated on June 08, 2022

Comments

  • user959631
    user959631 almost 2 years

    OK, after creating an application I want it to be compatible for 64 and 32 bit systems. By default Visual Studio debugs applications in x86 (which is 32-bit). So how can I make Visual Studio debug in x64, for 64-bit systems. Thanks.