0

I would like to change a debug setting on VS 2012 project to allow for unmanaged code debugging. If I look on MSDN I find that there are only articles to enable this for Visual Studio 2010, 2008, and 2005. I am running into an AccessViolationException attempting run a third party code, and it appears that the unmanaged code may be causing the problem.

My question is: does Visual Studio 2012 have an option to enable debugging unmanaged code? If not, is this option built-in/hardcoded to be either enabled or disabled?

EDIT

This is for an ASP MVC solution. Here's a screen shot of the options from the properties window for my project.

enter image description here

And here are the properties for the solution

enter image description here

Web Properties

enter image description here

Community
  • 1
  • 1
NealR
  • 10,189
  • 61
  • 159
  • 299

2 Answers2

2

depending on the project, the places are a little different.

for some, right click the project file, properties, debug tab, I believe there's a setting there for managed/mixed/native only, etc (maybe a dropdown?)

for some, it is the debug tab, and there's an "enable debuggers" section with checkboxes for native/managed/sql/etc

if it is a web project, it is in the web tab of the properties, with checkboxes for managed/native/sql/script/etc at the bottom

John Gardner
  • 24,225
  • 5
  • 58
  • 76
  • I have an "Options and Setting" item in the Debug drop-down, however nothing in "Debuggin" section there about unmanaged code. Could they be calling something else? – NealR Jun 12 '14 at 22:12
  • Just added a screen shot of the Web properties tab. Native code is the only checkbox I see down there. Is this what I'm looking for to debug unmanaged code? – NealR Jun 12 '14 at 22:26
0

For C# Projects, you go to the properties for the project.

Under the Debug tab, there is an "Enable Debuggers" section, which has an "Enable native code debugging" checkbox.

LVBen
  • 2,041
  • 13
  • 27
  • Just posted a screen shot. That's exactly where I expected it to be, however for this project it's missing. – NealR Jun 12 '14 at 22:10