Click here to Skip to main content
15,885,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Abort Retry and Ignore and SEH Pin
ForNow20-Oct-20 1:41
ForNow20-Oct-20 1:41 
GeneralRe: Abort Retry and Ignore and SEH Pin
trønderen20-Oct-20 5:20
trønderen20-Oct-20 5:20 
GeneralRe: Abort Retry and Ignore and SEH Pin
ForNow20-Oct-20 1:42
ForNow20-Oct-20 1:42 
GeneralRe: Abort Retry and Ignore and SEH Pin
Richard MacCutchan20-Oct-20 2:50
mveRichard MacCutchan20-Oct-20 2:50 
GeneralRe: Abort Retry and Ignore and SEH Pin
ForNow20-Oct-20 3:14
ForNow20-Oct-20 3:14 
GeneralRe: Abort Retry and Ignore and SEH Pin
Greg Utas20-Oct-20 3:32
professionalGreg Utas20-Oct-20 3:32 
GeneralRe: Abort Retry and Ignore and SEH Pin
ForNow20-Oct-20 5:10
ForNow20-Oct-20 5:10 
GeneralRe: Abort Retry and Ignore and SEH Pin
Greg Utas20-Oct-20 6:11
professionalGreg Utas20-Oct-20 6:11 
I've not done debug breaks out of code, so I can't help you there. If your code works in debug, but not in release, it's probably using uninitialized data. One issue that you could face is that, in a release build, the compiler may have optimized the code to the point where it's difficult to follow.

What I do in the SEH is map it to a POSIX signal (e.g. SIGABRT), raise that, catch it in the signal handler, and throw a C++ exception that my base Thread class will catch. The constructor for the exception captures the function call chain before the stack is unwound, and the chain then gets displayed in a log.
Robust Services Core | Software Techniques for Lemmings | Articles
The fox knows many things, but the hedgehog knows one big thing.

GeneralRe: Abort Retry and Ignore and SEH Pin
trønderen20-Oct-20 5:40
trønderen20-Oct-20 5:40 
GeneralRe: Abort Retry and Ignore and SEH Pin
Greg Utas20-Oct-20 6:19
professionalGreg Utas20-Oct-20 6:19 
QuestionEACCES file from Ftpfolder Pin
ForNow16-Oct-20 3:47
ForNow16-Oct-20 3:47 
SuggestionRe: EACCES file from Ftpfolder Pin
Richard MacCutchan16-Oct-20 4:05
mveRichard MacCutchan16-Oct-20 4:05 
GeneralRe: EACCES file from Ftpfolder Pin
ForNow16-Oct-20 4:19
ForNow16-Oct-20 4:19 
GeneralRe: EACCES file from Ftpfolder Pin
Richard MacCutchan16-Oct-20 5:08
mveRichard MacCutchan16-Oct-20 5:08 
GeneralRe: EACCES file from Ftpfolder Pin
ForNow16-Oct-20 5:44
ForNow16-Oct-20 5:44 
GeneralRe: EACCES file from Ftpfolder Pin
Richard MacCutchan16-Oct-20 5:46
mveRichard MacCutchan16-Oct-20 5:46 
QuestionRPC interface does not work correctly Pin
CopWorker13-Oct-20 0:05
CopWorker13-Oct-20 0:05 
AnswerRe: RPC interface does not work correctly Pin
Victor Nijegorodov13-Oct-20 0:49
Victor Nijegorodov13-Oct-20 0:49 
GeneralRe: RPC interface does not work correctly Pin
CopWorker13-Oct-20 1:34
CopWorker13-Oct-20 1:34 
Questionstd::cout inside of object Pin
_Flaviu11-Oct-20 3:11
_Flaviu11-Oct-20 3:11 
AnswerRe: std::cout inside of object Pin
Victor Nijegorodov11-Oct-20 4:25
Victor Nijegorodov11-Oct-20 4:25 
QuestionRe: std::cout inside of object Pin
David Crow11-Oct-20 4:58
David Crow11-Oct-20 4:58 
AnswerRe: std::cout inside of object Pin
Richard MacCutchan11-Oct-20 5:10
mveRichard MacCutchan11-Oct-20 5:10 
GeneralRe: std::cout inside of object Pin
_Flaviu11-Oct-20 5:50
_Flaviu11-Oct-20 5:50 
GeneralRe: std::cout inside of object Pin
Randor 11-Oct-20 8:24
professional Randor 11-Oct-20 8:24 

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.