user279521
user279521

Reputation: 4807

Visual Studio 2008 breakpoint is not working

I am working on an ASP.NET project and I cannot make the breakpoints work! The project does not stop where I place a breakpoint. It does not seem to matter where I place the breakpoint.

I am in debug mode; I am using IE 8, Windows 7 OS;

Has anyone ever had this problem?

Upvotes: 4

Views: 4678

Answers (4)

DNR
DNR

Reputation: 3736

From my experience, BEFORE you hit F5 to debug, do a BUILD & and ReBuild. Then hit F5 and that should work (9 out of 10 times) !!

HTH

Upvotes: 8

David
David

Reputation: 2795

Did You: 1) Run the program in debug mode such that VS auto-attaches to the process as it loads? or

2) Attach manually to the ASP.NET worker process that is already running via Debug..Attach to Process ?

3) Did you set debug="true" in the <compilation> element of the web.config, ie: <compilation defaultLanguage="c#" debug="true">

4) If it is a client-side jscript breakpoint, did you enable script debugging in Tools..Internet Options..Advanced..uncheck both of the "Disabled Script Debugging" checkboxes ?

Post the answers to these and then can follow up with more help

Upvotes: 1

Lalit
Lalit

Reputation: 4957

If you are using IE8 then you need to follow these settings

On registery HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main

Put Value: DWORD TabProcGrowth Value 0

Upvotes: 0

Glennular
Glennular

Reputation: 18215

is Debug set to true in the web.config as well as the build mode?

<compilation debug="true">

Upvotes: 1

Related Questions