Solved

pdb files not being created in vs 2008

Posted on 2010-11-23
9
1,004 Views
Last Modified: 2012-06-22
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!!!!!

0
Comment
Question by:johnnyg123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
9 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 34200414
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.
0
 
LVL 9

Expert Comment

by:AnilKumarSharma
ID: 34200466
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.)
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:johnnyg123
ID: 34200612
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
0
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 34200636
You should be able to debug still. You just won't see the PDB files because they're not persisted.
0
 

Author Comment

by:johnnyg123
ID: 34200739
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
0
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 34200765
Try restarting the web server, it may have cached an older version of the temporary assemblies.
0
 

Author Comment

by:johnnyg123
ID: 34205825
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?
0
 

Author Comment

by:johnnyg123
ID: 34232921
Upon further review, I'm thinking my last comment is actually a new question  so I closed this question and opened a new one
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question