Click here to Skip to main content
14,692,052 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Abort Retry and Ignore and SEH Pin
ForNow20-Oct-20 2:41
MemberForNow20-Oct-20 2:41 
GeneralRe: Abort Retry and Ignore and SEH Pin
trønderen20-Oct-20 6:20
Membertrønderen20-Oct-20 6:20 
GeneralRe: Abort Retry and Ignore and SEH Pin
ForNow20-Oct-20 2:42
MemberForNow20-Oct-20 2:42 
GeneralRe: Abort Retry and Ignore and SEH Pin
Richard MacCutchan20-Oct-20 3:50
mveRichard MacCutchan20-Oct-20 3:50 
GeneralRe: Abort Retry and Ignore and SEH Pin
ForNow20-Oct-20 4:14
MemberForNow20-Oct-20 4:14 
GeneralRe: Abort Retry and Ignore and SEH Pin
Greg Utas20-Oct-20 4:32
professionalGreg Utas20-Oct-20 4:32 
GeneralRe: Abort Retry and Ignore and SEH Pin
ForNow20-Oct-20 6:10
MemberForNow20-Oct-20 6:10 
GeneralRe: Abort Retry and Ignore and SEH Pin
Greg Utas20-Oct-20 7:11
professionalGreg Utas20-Oct-20 7: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 6:40
Membertrønderen20-Oct-20 6:40 
GeneralRe: Abort Retry and Ignore and SEH Pin
Greg Utas20-Oct-20 7:19
professionalGreg Utas20-Oct-20 7:19 
QuestionEACCES file from Ftpfolder Pin
ForNow16-Oct-20 4:47
MemberForNow16-Oct-20 4:47 
SuggestionRe: EACCES file from Ftpfolder Pin
Richard MacCutchan16-Oct-20 5:05
mveRichard MacCutchan16-Oct-20 5:05 
GeneralRe: EACCES file from Ftpfolder Pin
ForNow16-Oct-20 5:19
MemberForNow16-Oct-20 5:19 
GeneralRe: EACCES file from Ftpfolder Pin
Richard MacCutchan16-Oct-20 6:08
mveRichard MacCutchan16-Oct-20 6:08 
GeneralRe: EACCES file from Ftpfolder Pin
ForNow16-Oct-20 6:44
MemberForNow16-Oct-20 6:44 
GeneralRe: EACCES file from Ftpfolder Pin
Richard MacCutchan16-Oct-20 6:46
mveRichard MacCutchan16-Oct-20 6:46 
QuestionRPC interface does not work correctly Pin
CopWorker13-Oct-20 1:05
MemberCopWorker13-Oct-20 1:05 
AnswerRe: RPC interface does not work correctly Pin
Victor Nijegorodov13-Oct-20 1:49
MemberVictor Nijegorodov13-Oct-20 1:49 
GeneralRe: RPC interface does not work correctly Pin
CopWorker13-Oct-20 2:34
MemberCopWorker13-Oct-20 2:34 
Questionstd::cout inside of object Pin
_Flaviu11-Oct-20 4:11
Member_Flaviu11-Oct-20 4:11 
AnswerRe: std::cout inside of object Pin
Victor Nijegorodov11-Oct-20 5:25
MemberVictor Nijegorodov11-Oct-20 5:25 
QuestionRe: std::cout inside of object Pin
David Crow11-Oct-20 5:58
MemberDavid Crow11-Oct-20 5:58 
AnswerRe: std::cout inside of object Pin
Richard MacCutchan11-Oct-20 6:10
mveRichard MacCutchan11-Oct-20 6:10 
GeneralRe: std::cout inside of object Pin
_Flaviu11-Oct-20 6:50
Member_Flaviu11-Oct-20 6:50 
GeneralRe: std::cout inside of object Pin
Randor 11-Oct-20 9:24
professional Randor 11-Oct-20 9: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.