johnnyg123
asked on
pdb files not being created in vs 2008
I have an asp.net web site that I am working with in visual studio 2008
(It was built using file directory)
It has one project and the mode is debug
The name of the project is fsmwebinterface2008.
I keep compiling it in debug mode and for the life of me I can't find an fsmwebinterface2008.pdb
The web.config doe have
<compilation debug="true" strict="false" explicit="true">
I have seen posts to delete the debug and obj folder but I can find these either
Please help .....this is driving me nuts!!!!!
(It was built using file directory)
It has one project and the mode is debug
The name of the project is fsmwebinterface2008.
I keep compiling it in debug mode and for the life of me I can't find an fsmwebinterface2008.pdb
The web.config doe have
<compilation debug="true" strict="false" explicit="true">
I have seen posts to delete the debug and obj folder but I can find these either
Please help .....this is driving me nuts!!!!!
If it is actually a "Website" project rather than a "Web Application" project then there won't be any DLL or PDB files generated. Website applications are dynamically compiled when used so there is no output.
To enable .pdb generation, goto
Project Properties > Compile Tab > Advanced Compile Options.
Goto Generate Debug Info (dropdown list) and verify that it is selected proper (should not be selected as None.)
Project Properties > Compile Tab > Advanced Compile Options.
Goto Generate Debug Info (dropdown list) and verify that it is selected proper (should not be selected as None.)
ASKER
Carl
Does that mean you can't debug? I could swear I have before but now I get the dreaded
Breakpoint Will Not Currently Be Hit message
Forgot to mention the other thing that drives me nuts is if I go to project properties in vs 2008 I don't see a compile tab
I see the following
References
Build
Accessibility
Start Options
MSBuild Options
Does that mean you can't debug? I could swear I have before but now I get the dreaded
Breakpoint Will Not Currently Be Hit message
Forgot to mention the other thing that drives me nuts is if I go to project properties in vs 2008 I don't see a compile tab
I see the following
References
Build
Accessibility
Start Options
MSBuild Options
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
here's what's really weird
I moved my break point up to the start up page and the breakpoint is reached.
It is only at a page that is reached down stream that the breakpoint is an issue
I moved my break point up to the start up page and the breakpoint is reached.
It is only at a page that is reached down stream that the breakpoint is an issue
Try restarting the web server, it may have cached an older version of the temporary assemblies.
ASKER
upon further review it looks like all is well until the response.redirect is executed
The new page is displayed but breakpoints are no longer executed
Is there a way around this?
The new page is displayed but breakpoints are no longer executed
Is there a way around this?
ASKER
Upon further review, I'm thinking my last comment is actually a new question so I closed this question and opened a new one