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.
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.
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.
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.
gayupk
Member
26 Points
60 Posts
debugging not working
May 07, 2008 05:15 AM|LINK
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.
sprakashcs
Member
256 Points
63 Posts
Re: debugging not working
May 07, 2008 05:24 AM|LINK
visit this link for further clarification
http://foraspdotnetdevelopers.blogspot.com/
gayupk
Member
26 Points
60 Posts
Re: debugging not working
May 07, 2008 05:36 AM|LINK
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.
VinBrown
Member
39 Points
23 Posts
Re: debugging not working
May 07, 2008 01:07 PM|LINK
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.
sprakashcs
Member
256 Points
63 Posts
Re: debugging not working
May 07, 2008 02:41 PM|LINK
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.
gayupk
Member
26 Points
60 Posts
Re: debugging not working
May 08, 2008 04:24 AM|LINK
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.
VinBrown
Member
39 Points
23 Posts
Re: debugging not working
May 08, 2008 11:37 AM|LINK
That's awesome! When in doubt, reboot. I'd be interested to know if you ever find out what the problem was.