Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / August 2005

Tip: Looking for answers? Try searching our database.

VS debugger stopped working

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mikael Östberg - 18 Aug 2005 09:18 GMT
Hello all!

I have been working on a project for some time now and yesterday, my
debugger stopped working.
It is a class library which I run from a Win32 test app, so no IIS involved
at this point.

I can still set breakpoints and when debugging the breakpoints get hit -
just like it would work normally.

However, when I want to check values of objects and such using autos or
watch, all values are null. I can step through the code, but it seems like
the debugger does not care about the code. It steps into catch blocks even
though an exception would be impossible. It would even step into this
statement:

string test = null;
if(test != null) {
   // it would step into here
}

Here is an image that proves this wierd condition:
http://www.inloop.se/temp/debugger.jpg
This example is a standard Win32 app with only one form and one button.

I have run the repair feature in Visual Studio. I have also re-installed the
.Net framwork 1.1 SP1 for Win2003 but that didn't help.

Has anyone seen this before? What could possibly had happened and more
importantly, how can I solve this?

Thanks!

Mikael Östberg
Hernán Gatta - 18 Aug 2005 13:21 GMT
Try checking if your Current Configuration for compiling is NOT Release.
-------------------
Hernán A. Gatta

> Hello all!
>
[quoted text clipped - 30 lines]
>
> Mikael Östberg
Mikael Östberg - 18 Aug 2005 13:29 GMT
Hello!

Thanks for your answer!

It is set on DEBUG.

Note that this is a standard C# Windows project. I only added the button and
the code and made no more changes.

The same thing happens in VB.Net.

I have read forums all day and no one seems to have had the same problem.

Any clues?

::m

> Try checking if your Current Configuration for compiling is NOT Release.
> -------------------
[quoted text clipped - 34 lines]
> >
> > Mikael Östberg
Mikael Östberg - 18 Aug 2005 13:37 GMT
Hello again!

I tried to debug an old ASP.NET project and there it works fine.

This narrows this wierd issue down to Win32 apps.

Clues anyone..?

::m

> Try checking if your Current Configuration for compiling is NOT Release.
> -------------------
[quoted text clipped - 34 lines]
> >
> > Mikael Östberg
schneider - 18 Aug 2005 19:51 GMT
Either:
You have debugging disable in project settings
or
You debug file/s (*.pdb) are out of sych. (usually this result in debug row
looks funny or breaks on empty line)

Check for build errors or file lock errors.

Try Rebuild vs Build (Seems to unlock locked files)
Sometimes you have to reboot...

Schneider

> Hello all!
>
[quoted text clipped - 30 lines]
>
> Mikael Östberg

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.