Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Compatibility issue Pin
Stephen Hewitt8-Jul-08 19:59
Stephen Hewitt8-Jul-08 19:59 
GeneralRe: Compatibility issue Pin
V K 28-Jul-08 20:15
V K 28-Jul-08 20:15 
GeneralRe: Compatibility issue Pin
Stephen Hewitt8-Jul-08 20:22
Stephen Hewitt8-Jul-08 20:22 
GeneralRe: Compatibility issue Pin
V K 28-Jul-08 20:53
V K 28-Jul-08 20:53 
GeneralRe: Compatibility issue Pin
Stephen Hewitt8-Jul-08 20:59
Stephen Hewitt8-Jul-08 20:59 
QuestionQuestion about icon on CButton Pin
xanagan6668-Jul-08 18:28
xanagan6668-Jul-08 18:28 
AnswerRe: Question about icon on CButton Pin
Iain Clarke, Warrior Programmer8-Jul-08 22:56
Iain Clarke, Warrior Programmer8-Jul-08 22:56 
Questionstack trace in exception Pin
George_George8-Jul-08 16:43
George_George8-Jul-08 16:43 
Hello everyone,


Here is the !pe output from WinDbg when there is an exception. It shows exactly the function name where exception occurs.

My question is, how to show the line in the source code which triggers the exception?

Here is WinDbg output.

0:000> !pe
Exception object: 0000000002651ac0
Exception type: System.Exception
Message: Hello Exception Debug
InnerException: <none>
StackTrace (generated):
SP IP Function
000000000012EFF0 00000642801501F4 TestDebug!TestDebug.Program.foo()+0x64
000000000012F030 000006428015014D TestDebug!TestDebug.Program.Main(System.String[])+0x2d

StackTraceString: <none>
HResult: 80131500


thanks in advance,
George
AnswerRe: stack trace in exception Pin
Sarath C8-Jul-08 18:22
Sarath C8-Jul-08 18:22 
GeneralRe: stack trace in exception Pin
George_George8-Jul-08 18:38
George_George8-Jul-08 18:38 
GeneralRe: stack trace in exception Pin
Stephen Hewitt8-Jul-08 20:04
Stephen Hewitt8-Jul-08 20:04 
GeneralRe: stack trace in exception Pin
George_George8-Jul-08 20:08
George_George8-Jul-08 20:08 
GeneralRe: stack trace in exception Pin
Stephen Hewitt8-Jul-08 20:10
Stephen Hewitt8-Jul-08 20:10 
GeneralRe: stack trace in exception Pin
George_George8-Jul-08 20:13
George_George8-Jul-08 20:13 
GeneralRe: stack trace in exception Pin
Stephen Hewitt8-Jul-08 20:28
Stephen Hewitt8-Jul-08 20:28 
GeneralRe: stack trace in exception Pin
George_George8-Jul-08 20:40
George_George8-Jul-08 20:40 
GeneralRe: stack trace in exception Pin
Stephen Hewitt8-Jul-08 20:46
Stephen Hewitt8-Jul-08 20:46 
GeneralRe: stack trace in exception Pin
George_George8-Jul-08 20:53
George_George8-Jul-08 20:53 
GeneralRe: stack trace in exception Pin
George_George8-Jul-08 20:59
George_George8-Jul-08 20:59 
GeneralRe: stack trace in exception Pin
Stephen Hewitt8-Jul-08 21:05
Stephen Hewitt8-Jul-08 21:05 
GeneralRe: stack trace in exception Pin
George_George8-Jul-08 21:22
George_George8-Jul-08 21:22 
GeneralRe: stack trace in exception Pin
Stephen Hewitt8-Jul-08 21:33
Stephen Hewitt8-Jul-08 21:33 
GeneralRe: stack trace in exception Pin
George_George8-Jul-08 21:44
George_George8-Jul-08 21:44 
GeneralRe: stack trace in exception Pin
Stephen Hewitt8-Jul-08 21:47
Stephen Hewitt8-Jul-08 21:47 
GeneralRe: stack trace in exception Pin
George_George8-Jul-08 21:59
George_George8-Jul-08 21:59 

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.