user959631
user959631

Reputation: 992

How to debug Visual Studio in 64-bit

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.

Upvotes: 6

Views: 23050

Answers (1)

JaredPar
JaredPar

Reputation: 755457

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

Upvotes: 6

Related Questions