Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
This article applies to Visual Studio 2015. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here
NET Framework versions earlier than 4 do not provide support for mixed-mode debugging of x64 processes. That means that you cannot step from managed code to native code, or from native code to managed code, while debugging.
Workarounds
Update your project to use Microsoft .NET Framework 4 or later.
–or–
Debug your managed and native code in separate debugging sessions.
–or–
Debug your mixed code as a 32-bit process, as described in the following procedures.
To change the platform to 32-bit (Visual Basic or C#)
In Solution Explorer, right-click your project, and then click Properties.
In the property pages, click the Compile or the Debug tab.
Click Platform and select x86 from the list of platforms.
By default, the Visual Basic and C# compilers default produce code to run on any CPU. On a 64-bit computer, these binaries run as 64-bit processes. To run on a 32-bit process, you must choose Win32, not AnyCPU.
To change the platform to 32-bit (C/C++)
In Solution Explorer, right-click your project, then click Properties.
In the Property Pages, click Platform and select Win32 from the list of platforms.