473,394 Members | 1,829 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Release build with PDB's

We are currently having an issue with one of our web applications. Some
users receive an exception when using the app, but the method that has the
error in the stack trace has a few places that could cause the error.

So my question is, what are the CONS to deploying the PDB's that are built
with the application if you build in release mode?

Security? performance? anything else?

Thanks
Wayne
Feb 22 '07 #1
2 1929
My understanding is that the difference is based on the build mode (debug vs
release). I gave this a try when I saw that PDB generation was actually not
coupled with debug builds (it likely just stores wih offset correspond to
which source file line) but for now it seems to make no difference...

For now I jsut keep track of the current location in a variable that is
dumped when it errors in the rare cases where having directly the location
would help...

Let us know.

Patrice

"Wayne Sepega" <Me******@community.nospama écrit dans le message de news:
e5**************@TK2MSFTNGP02.phx.gbl...
We are currently having an issue with one of our web applications. Some
users receive an exception when using the app, but the method that has the
error in the stack trace has a few places that could cause the error.

So my question is, what are the CONS to deploying the PDB's that are built
with the application if you build in release mode?

Security? performance? anything else?

Thanks
Wayne

Feb 22 '07 #2
Also you would have likely to disable compiler optimization to be able to do
so (so that it can still properly map executable statements to the original
source code line)...

So unless you really need this very frequently it's likely better to add
some instrumentation code when needed to break down the code path in
"segements" so that you can know in whihc area the problem lies when needed.
This is what I finally done instead of spending time to find out how to use
PDBs with my release builds...

"Patrice" <http://www.chez.com/scribe/a écrit dans le message de news:
%2***************@TK2MSFTNGP05.phx.gbl...
My understanding is that the difference is based on the build mode (debug
vs release). I gave this a try when I saw that PDB generation was actually
not coupled with debug builds (it likely just stores wih offset correspond
to which source file line) but for now it seems to make no difference...

For now I jsut keep track of the current location in a variable that is
dumped when it errors in the rare cases where having directly the location
would help...

Let us know.

Patrice

"Wayne Sepega" <Me******@community.nospama écrit dans le message de
news: e5**************@TK2MSFTNGP02.phx.gbl...
>We are currently having an issue with one of our web applications. Some
users receive an exception when using the app, but the method that has
the error in the stack trace has a few places that could cause the error.

So my question is, what are the CONS to deploying the PDB's that are
built with the application if you build in release mode?

Security? performance? anything else?

Thanks
Wayne


Feb 22 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Bonj | last post by:
When building a windows forms application in C#, I notice that you get two different folders for different builds, debug and release. But when building a web application there is only one,...
0
by: Droopy Toon | last post by:
Hi, I think it is a FAQ but I found no answer to my problem. I created a C# program that called some C++ legacy code. I created 2 projects : 1) a DLL (IPRCommWrapper.dll) including an...
1
by: Darren | last post by:
When I do a final build I typically build all projects in debug mode first and then release mode and then copy all files to a builds folder. However I've noticed that the .pdb files in the debug...
3
by: Steve Franks | last post by:
I'm using Visual Studio 2005 RC and cannot figure out how to produce a "release" build. Am I doing something wrong? I'm wondering if perhaps MS locked out the ability to produce a release build...
1
by: c_shah | last post by:
I am a SQL DBA just started to learn Visual Basic 2005 so I apologize for this very simple question. What's the fundamental difference between debug mode vs release mode. I am using Visual...
6
by: Andrew Rowley | last post by:
I am having trouble getting debug and release builds to work properly with project references using C++ .NET and Visual Studio 2003. I created a test solution, with a basic Windows form C++...
35
by: Brett Romero | last post by:
I'm using MSBUILD to build release and debug versions of a winform project (VS.NET 2005). The project file has conditionals to file reference DLLs depending on the build configuration (debug or...
7
by: news.microsoft.com | last post by:
I have an asp.net 2.0 project that when I change the build configuration to release I get the following error: Command line error BC2014: the value 'None' is invalid for option 'debug'. If I...
3
by: Bob Johnson | last post by:
It is my understanding - and please correct me if I'm wrong - that when building a project in debug mode, I can deploy the .pdb file along with the ..exe and thereby have access to the specific...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.