Dave Bost

An issue with Visual Studio Debugging Resolved

In a shameless attempt to help promote traffic to my new permanent blog site (http://www.davebost.com), I will offer up teasers to my posts on my weblogs.asp.net site with a link to the actual post.

On to the post...

I was helping one of the developers on our team with an interesting little debugging issue in Visual Studio .NET today.  I thought I share it with my readers (all 3 of you). 

One of our developers came up to me today and said he was having an issue with a breakpoint not hitting.  This particular situation involved a main web project alongside a class library project under one solution.  He was setting a breakpoint in the class project and sure enough it wasn't firing.  These are always fun ones to figure out, so I go through my standard questions for debugging web applications:

1.)  Are you compiling in Debug or Release mode?

2.)  Does the web config have the debug attribute set to true in the <compilation> configuration setting under <system.web>?

3.)  Do you have the appropriate permissions?  Are you an Administrator?  If not, are you a member of the VS Developers and Debugger Users groups?

In this particular case, he answered Yes to all 3. <more>

 

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required)