Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
QuestionAny fast way to get the stack trace? Pin
SledgeHammer013-Oct-14 15:59
SledgeHammer013-Oct-14 15:59 
AnswerRe: Any fast way to get the stack trace? Pin
fengyuancom3-Oct-14 18:13
fengyuancom3-Oct-14 18:13 
AnswerRe: Any fast way to get the stack trace? Pin
Pete O'Hanlon4-Oct-14 0:55
mvePete O'Hanlon4-Oct-14 0:55 
AnswerRe: Any fast way to get the stack trace? Pin
Dave Kreskowiak4-Oct-14 3:36
mveDave Kreskowiak4-Oct-14 3:36 
GeneralRe: Any fast way to get the stack trace? Pin
SledgeHammer014-Oct-14 6:02
SledgeHammer014-Oct-14 6:02 
GeneralRe: Any fast way to get the stack trace? Pin
Dave Kreskowiak4-Oct-14 7:17
mveDave Kreskowiak4-Oct-14 7:17 
GeneralRe: Any fast way to get the stack trace? Pin
SledgeHammer014-Oct-14 12:36
SledgeHammer014-Oct-14 12:36 
GeneralRe: Any fast way to get the stack trace? Pin
Dave Kreskowiak4-Oct-14 12:42
mveDave Kreskowiak4-Oct-14 12:42 
Uhhhh....yeah. Whatever.

I still don't ever see the need for a stack trace on every log entry call. Think about that for a minute. What are you going to get in the stack trace? A million examinations of the call to the log component!

The problem with get a tack trace is that the thread is stopped, the entire stack is walked looking for return addresses, symbols resolved, then you get you're trace and thread is resumed.

You're basically not going to get what you would call a "high performance" stack trace. The operation is just too expensive.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

GeneralRe: Any fast way to get the stack trace? Pin
SledgeHammer014-Oct-14 14:08
SledgeHammer014-Oct-14 14:08 
GeneralRe: Any fast way to get the stack trace? Pin
Dave Kreskowiak4-Oct-14 18:52
mveDave Kreskowiak4-Oct-14 18:52 
QuestionTextarea not able insert large text Pin
sreekanth.jonna3-Oct-14 10:48
sreekanth.jonna3-Oct-14 10:48 
SuggestionRe: Textarea not able insert large text Pin
George Jonsson5-Oct-14 15:04
professionalGeorge Jonsson5-Oct-14 15:04 
QuestionNeed to send an email 20 minutes before the event time Pin
VladFromNYC3-Oct-14 9:48
VladFromNYC3-Oct-14 9:48 
AnswerRe: Need to send an email 20 minutes before the event time Pin
BillWoodruff3-Oct-14 10:58
professionalBillWoodruff3-Oct-14 10:58 
GeneralRe: Need to send an email 20 minutes before the event time Pin
VladFromNYC3-Oct-14 11:30
VladFromNYC3-Oct-14 11:30 
GeneralRe: Need to send an email 20 minutes before the event time Pin
SledgeHammer013-Oct-14 11:46
SledgeHammer013-Oct-14 11:46 
GeneralRe: Need to send an email 20 minutes before the event time Pin
VladFromNYC6-Oct-14 4:48
VladFromNYC6-Oct-14 4:48 
QuestionHow to find in useful/unnecessary files from website folder ??? Pin
Abhishek kumar1213-Oct-14 6:07
Abhishek kumar1213-Oct-14 6:07 
AnswerRe: How to find in useful/unnecessary files from website folder ??? Pin
ZurdoDev3-Oct-14 7:12
professionalZurdoDev3-Oct-14 7:12 
QuestionEdit Equation in RichtextBox WPF Pin
Member 106106383-Oct-14 3:53
Member 106106383-Oct-14 3:53 
AnswerRe: Edit Equation in RichtextBox WPF Pin
SledgeHammer013-Oct-14 6:59
SledgeHammer013-Oct-14 6:59 
QuestionWhat should be update query ??? Pin
Abhishek kumar1213-Oct-14 1:42
Abhishek kumar1213-Oct-14 1:42 
AnswerRe: What should be update query ??? Pin
Richard Deeming3-Oct-14 2:23
mveRichard Deeming3-Oct-14 2:23 
QuestionConverting Crystal Reports into Bitmap format Pin
itani1-Oct-14 20:03
itani1-Oct-14 20:03 
QuestionRe: Converting Crystal Reports into Bitmap format Pin
Richard MacCutchan1-Oct-14 21:43
mveRichard MacCutchan1-Oct-14 21:43 

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.