Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: equivalent Pin
Luc Pattyn17-May-10 6:27
sitebuilderLuc Pattyn17-May-10 6:27 
QuestionProduction release: Do you issue a "Release" build or do you simply not roll out the debug's pdb file? Pin
Alaric_17-May-10 3:49
professionalAlaric_17-May-10 3:49 
AnswerRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
PIEBALDconsult17-May-10 4:04
mvePIEBALDconsult17-May-10 4:04 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
J4amieC17-May-10 4:53
J4amieC17-May-10 4:53 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
PIEBALDconsult17-May-10 5:28
mvePIEBALDconsult17-May-10 5:28 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
The Man from U.N.C.L.E.17-May-10 5:38
The Man from U.N.C.L.E.17-May-10 5:38 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
PIEBALDconsult17-May-10 5:42
mvePIEBALDconsult17-May-10 5:42 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
The Man from U.N.C.L.E.17-May-10 7:07
The Man from U.N.C.L.E.17-May-10 7:07 
ASP.NET is a cheaky little oik.

Just did some testing.

For a true release build you set to release configuration, which builds with optimisations on, debug symbols off, pdb files excluded, and DO NOT DEPLOY THE SOURCE FILES.

That last bit is the key.

You can debug if either of the following are true:

1. You deployed the source files.
2. You build using GeneratePDB-Only, or Full Debug symbols, and optimisations off

You get line numbers in your stack trace if either the PDB files, or the source files are present regardless of optimisations and debug symbol inclusion. If you do not have the PDB files, or the source files you cannot get the line numbers.

NB// For Windows applications (it is a bit clearer as you cannot deploy the source code.)
If you have knowledge, let others light their candles at it.
Margaret Fuller (1810 - 1850)
[My Articles]  [My Website]

GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
J4amieC17-May-10 5:48
J4amieC17-May-10 5:48 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
PIEBALDconsult17-May-10 6:01
mvePIEBALDconsult17-May-10 6:01 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
Eddy Vluggen17-May-10 5:49
professionalEddy Vluggen17-May-10 5:49 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
Alaric_17-May-10 5:56
professionalAlaric_17-May-10 5:56 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
Eddy Vluggen17-May-10 6:04
professionalEddy Vluggen17-May-10 6:04 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
PIEBALDconsult17-May-10 6:07
mvePIEBALDconsult17-May-10 6:07 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
Giorgi Dalakishvili17-May-10 8:50
mentorGiorgi Dalakishvili17-May-10 8:50 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
PIEBALDconsult17-May-10 9:24
mvePIEBALDconsult17-May-10 9:24 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
Giorgi Dalakishvili17-May-10 9:29
mentorGiorgi Dalakishvili17-May-10 9:29 
AnswerRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
The Man from U.N.C.L.E.17-May-10 4:07
The Man from U.N.C.L.E.17-May-10 4:07 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
Alaric_17-May-10 4:48
professionalAlaric_17-May-10 4:48 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
Alaric_17-May-10 4:55
professionalAlaric_17-May-10 4:55 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
The Man from U.N.C.L.E.17-May-10 5:37
The Man from U.N.C.L.E.17-May-10 5:37 
GeneralRe: Production release: Do I issue a "Release" build or do I simply not copy over the debug's pdb file? Pin
The Man from U.N.C.L.E.17-May-10 5:30
The Man from U.N.C.L.E.17-May-10 5:30 
QuestionUsing Standalone SMTP email server Pin
msj4u17-May-10 3:31
msj4u17-May-10 3:31 
AnswerRe: Using Standalone SMTP email server Pin
Not Active17-May-10 3:43
mentorNot Active17-May-10 3:43 
GeneralRe: Using Standalone SMTP email server Pin
msj4u17-May-10 19:18
msj4u17-May-10 19:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.