Visual Studio Web Developer Express Debugger Problem

Last post 06-24-2008 11:47 AM by tmptplayer. 4 replies.

Sort Posts:

  • Visual Studio Web Developer Express Debugger Problem

    06-19-2008, 8:15 PM
    • Loading...
    • tmptplayer
    • Joined on 12-20-2007, 5:10 PM
    • Posts 63

    Hi all,

    I recently purchased a new computer and installed Visual Studio 2005 because the project I'm working on is using ASP.NET 2.0  On my other computer, when I press the green play button, or run a page running while debugging it will catch breakpoints.  Presently, the computer blasts right through them (even if I set the break point in the first line of the Page_Load event).  Any ideas why this is happening and how to fix this?

     Any thoughts would be great!  Thanks!

  • Re: Visual Studio Web Developer Express Debugger Problem

    06-19-2008, 10:52 PM
    • Loading...
    • jchandra
    • Joined on 05-15-2008, 9:36 AM
    • Jakarta, Indonesia
    • Posts 197

    You might want to be sure that you are using the Debug Build instead of Release Build.  Most of the time, you can't debug a Release Build since the debugging info are disabled by default on that mode.

    Jimmy Chandra
    Blogging at Incoherent Rambling

    Mark this post as Answer if you think it helped you solve the problem.

  • Re: Visual Studio Web Developer Express Debugger Problem

    06-19-2008, 11:02 PM
    • Loading...
    • tmptplayer
    • Joined on 12-20-2007, 5:10 PM
    • Posts 63

    How can I tell that I'm using a debug build?  When I go to the configuration manager under the build menu, the active configuration is "Debug". 

  • Re: Visual Studio Web Developer Express Debugger Problem

    06-23-2008, 6:50 AM
    Answer

    Hi, 

    Please make sure you select Debug from solution configuration dropdownlist in menu bar.

    During debugging session, did the Breakpoint show any warning message on it? If yes, you can get some clues from it. If the debugger doesn’t load the .pdb file, the Breakpiont cannot be hit. So please make sure that the symbols are loaded by the debugger. We can check if the debugger loads this pdb file by the following steps (Debug->Windows->Modules), and then select your dll module to see if the pdb file is loaded. If the pdb file is not loaded, we can load it manually (Right clight the dll model->Select Load Symbols).

    You can get more information about debugging by refering to http://blogs.msdn.com/jimgries/pages/visual-studio-debugger-faq.aspx (Section: Breakpoints and other Execution Control).

    Additionally, you also can try to delete the your website folder under "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files" , and then rebuild your website to see if breakpoint is hit.

     

    I hope this helps.

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
  • Re: Visual Studio Web Developer Express Debugger Problem

    06-24-2008, 11:47 AM
    • Loading...
    • tmptplayer
    • Joined on 12-20-2007, 5:10 PM
    • Posts 63

    Hi,  Thanks for your reply.  About a day before your post I decided just to uninstall everything and upgrade to Visual Studio 2008 Web Developer Express.  With this I am experiencing no problems. 

     But with regards to the older release, I did not receive any breakpoint warnings.  I didn't check the loading of the .pdb file though.  The symptoms were strange, as VS would sort of freeze in the background while it was run in debug mode, and it would say at the bottom it was being run in debug mode with the Running note.  Anyway, I am going to mark this as solved- Thanks!

Page 1 of 1 (5 items)
Microsoft Communities
Page view counter