Re: VS2008 debugger stops immediately

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi CS,

Just to repost my last reply in case of any message droping:

============
As you mentioned the problem was actually caused by a certain assembly is
not built as debug one or without debug PDB file, right?

I haven't found any existing issue of such sporadic behavior, I think it
maybe caused by some environment specific things. Also, since you're using
a vista box, have you made sure that you're running it in Elevated
privilege account everytime you use Visual Studio? This is very important
as something in Visual Studio may not work quite correctly when you're not
in elevated mode(for admin privilege account).

===============

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.



--------------------
From: "WT" <WT@xxxxxxxxxxxxxxxxx>
References: <3E28C1FA-C2B8-4F26-93C5-B7C9BBEE0438@xxxxxxxxxxxxx>
<EtenIenXIHA.4200@xxxxxxxxxxxxxxxxxxxxxx>
In-Reply-To: <EtenIenXIHA.4200@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: VS2008 debugger stops immediately
Date: Fri, 25 Jan 2008 10:59:25 +0100


Hello Steven,

Fine to have an answer from you again, happy new 2008 year.

Concerning my problem, I have frequently succeded in debuging asp.net
applications with VS2008 and f 3.5.

Recently I had a more explicit message with a dialog saying that the
module
to debug: ascorel.dll in the folder MyUserLoginName\....\tempsomething.dll
was built with debug desabled and that it is the reason why debuger stops.

For, I checked everything and all the usual debug options are present,
normally this drive to a debug pdb file being generated.

The non ordinary fact is that this project is a Web Application I have
installed the extension supplied for this by MS (Scott Gu) and I am
running
Vista (I am local admin) under a domain (normal user).

Theses 2 factors seem to lead to instability in the fact that debuged pdb
code is generated, or may be files are not correctly copied to destination
folder after compile ???

Note also thta I made changes to the name of the assembly, but here again
according tomy experience things are settle Ok.

Should I be the only one with this annoying and sporadic dysfunction ?

Regards
CS








"Steven Cheng[MSFT]" <stcheng@xxxxxxxxxxxxxxxxxxxx> a écrit dans le
message
de news:EtenIenXIHA.4200@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi CS,

As for the debugging problem, is it occuring right after you've installed
the Visual STudo 2008 or have you ever been able to get the debugging
work
correct? Also, you can try manually attach to ASP.NET process to see
whether such kind of debugging will work.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no
rights.


--------------------
From: "WT" <WT@xxxxxxxxxxxxxxxxx>
Subject: VS2008 debugger stops immediately
Date: Wed, 23 Jan 2008 13:30:07 +0100

Hello,

I have a web application using framework 3.5 with C# and ajax extensions.
Vista.
When I start debugger with F5, the Cassini browser is opened, debugger
seems
to start in VS but it stops immediatelly, the application continue to run
in
the browser without stopping on break points.
Seems like its running without debugger, but I have checked everything,
Debug is set as current configuration, also in web.config ?
I can't find the reason why.
Some times the debugger start really, one time I get a message saying
thta
the debug source has changed and is later than the debugged file, looks
like
a cache problem ?

Any idea welcome.
CS






.



Relevant Pages

  • Re: How to connect to children process
    ... Main problem is amount of manual operations required per debug cycle. ... connection to DLL with debugger takes sensible amount of time and manual ... Is the main problem that the debugger keeps symbols file loaded ... AFAIK that's how VS2003 debugger works, but WinDbg should usually ...
    (microsoft.public.vsnet.debugging)
  • Re: VS2008 debugger stops immediately
    ... not built as debug one or without debug PDB file, ... Subject: VS2008 debugger stops immediately ... was built with debug desabled and that it is the reason why debuger stops. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Need Help Debugging
    ... you should use straight and plain ADPlus.VBS from the debugger package. ... debug info loaded, etc... ... does that avoid using the stack ?!? ... which is our custom CRITICAL_SECTION class. ...
    (microsoft.public.win32.programmer.kernel)
  • gnome-settings-daemon crashed twice
    ... To debug your program, run it with the --sync command line ... backtrace from your debugger if you break on the gdk_x_errorfunction.) ...
    (GNOME)
  • Re: VS2008 debugger stops immediately
    ... I was not running always vs in elevated privilege, ... not built as debug one or without debug PDB file, ... Microsoft MSDN Online Support Lead ... Subject: VS2008 debugger stops immediately ...
    (microsoft.public.dotnet.framework.aspnet)