Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2017 debug error: "Frame not in module"

After updating Visual Studio, I attempted to resume debugging, and got the following errors:

"Frame not in module" "Exception thrown at 0x246E8BF8 in w3wp.exe: 0xC0000005: Access violation reading location 0x00000000."

What do these mean and how do I resume debugging?

like image 528
Choylton B. Higginbottom Avatar asked Dec 21 '17 23:12

Choylton B. Higginbottom


People also ask

How do I reset Visual Studio exceptions?

To set Visual Studio debugger options, select Tools > Options, and under Debugging select or deselect the boxes next to the General options. You can restore all default settings with Tools > Import and Export Settings > Reset all settings.

How do I set Debug path in Visual Studio?

In Solution Explorer, right-click the project and choose Properties. In the side pane, choose Build (or Compile in Visual Basic). In the Configuration list at the top, choose Debug or Release. Select the Advanced button (or the Advanced Compile Options button in Visual Basic).

What is stack frame in debugging?

In the debugger architecture, a stack frame: Is an abstraction of a stack that provides the execution context of a thread. A thread always executes within a function. A stack frame holds the local variables of the function and the arguments to it.


Video Answer


1 Answers

After doing some digging, I got debugging working again by checking the "Common Language Runtime Exceptions" box in Exception Settings (there's a link to Exception Setting in the popup that had the second error), then changing the "Solution Platforms" from "Mixed Platforms" to "Any CPU".

like image 168
Choylton B. Higginbottom Avatar answered Sep 17 '22 12:09

Choylton B. Higginbottom