debugging not working

Last post 05-08-2008 7:37 AM by VinBrown. 6 replies.

Sort Posts:

  • debugging not working

    05-07-2008, 1:15 AM
    • Loading...
    • gayupk
    • Joined on 04-28-2008, 6:04 AM
    • Posts 20

    I have set debug= "true" in webconfig abd have set the break points but still I am not able to debug.

    please help. Thank you.

  • Re: debugging not working

    05-07-2008, 1:24 AM
    • Loading...
    • sprakashcs
    • Joined on 04-11-2008, 8:49 AM
    • Chennai
    • Posts 36

     

    visit this link for further clarification

    http://foraspdotnetdevelopers.blogspot.com/

  • Re: debugging not working

    05-07-2008, 1:36 AM
    • Loading...
    • gayupk
    • Joined on 04-28-2008, 6:04 AM
    • Posts 20

    thanks but I have done what the blog said. I've set it as debug in the check box. When I debug this is what the breakpoints read.

    One says this breahpoint will not work since the document is not loaded and on few other breakpoints it says this breahpoint will not work since no symbols have been loaded to this document.

    Kindly help.

  • Re: debugging not working

    05-07-2008, 9:07 AM
    • Loading...
    • VinBrown
    • Joined on 07-06-2007, 9:57 AM
    • Posts 15

    Are you trying to debug javascript? The error/warning you describe is what is typically given in that case. If you want to debug your javascript you can use firebug. I think you can do it with IE if you turn on script debugging. Haven't tried that, though.  

  • Re: debugging not working

    05-07-2008, 10:41 AM
    • Loading...
    • sprakashcs
    • Joined on 04-11-2008, 8:49 AM
    • Chennai
    • Posts 36

    Normally this mean the logical path(s) of the program will not hit that breakpoint. If this is the case,

    try putting the breakpoint right at the start of the program. e.g. Main()

    It sounds like the symbols you have are not lining up with the binaries
    you're generating. Do the following:

    1. Verify that you are in debug mode and not release mode.
    2. Verify that the timestamp of the .pdb file is the same as the .dll or
    .exe that you're generating. If they are not, remove all of the binaries
    and recompile your entire solution.
    3. If the additional assemblies you are trying to debug are not part of
    your solution (i.e. other projects), go under the properties for the
    solution and be sure to include the "Debug Source Files" and "Debug
    Symbol Files" locations of the additional assemblies you're trying to debug.
     

  • Re: debugging not working

    05-08-2008, 12:24 AM
    • Loading...
    • gayupk
    • Joined on 04-28-2008, 6:04 AM
    • Posts 20

    Thank everyone.

    I was not trying to debug javascript.And I tried all the options mentioned by you all. None of them worked. At last I gave up and my all time favourite method "RESTARTING THE SYSTEM". I tried it and now it's working fine. I have no clue till now what was wrong.

  • Re: debugging not working

    05-08-2008, 7:37 AM
    • Loading...
    • VinBrown
    • Joined on 07-06-2007, 9:57 AM
    • Posts 15

     That's awesome! When in doubt, reboot. I'd be interested to know if you ever find out what the problem was.

Page 1 of 1 (7 items)