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

C / C++ / MFC

 
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 
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 
Thanks Steve,


I met with the same issue when using C++ code. When first chance or second chance exception occurs, then I press k to display the stack trace, in the stack trace, there is not my own code. Any ideas?

(my purpose is simple, to display the exception call stack and including source code line number.)

#include <iostream>

using namespace std;

void foo()
{
	throw "Hello World";
}

int main()
{
	int a = 100;

	a = a + 100;

	foo();

	return 0;
}



regards,
George
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 
GeneralRe: stack trace in exception Pin
Stephen Hewitt8-Jul-08 22:01
Stephen Hewitt8-Jul-08 22:01 
GeneralRe: stack trace in exception Pin
George_George8-Jul-08 22:09
George_George8-Jul-08 22:09 
Questionhow to change menu font? Pin
tataxin8-Jul-08 16:30
tataxin8-Jul-08 16:30 
AnswerRe: how to change menu font? Pin
halibobo8-Jul-08 17:00
halibobo8-Jul-08 17:00 

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.