Changeset 1801 for trunk/dll/excputil.c
- Timestamp:
- Apr 4, 2015, 2:30:47 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/excputil.c
r1707 r1801 5 5 exception handlers 6 6 7 Copyright (c) 2008 Steven H. Levine7 Copyright (c) 2008, 2015 Steven H. Levine 8 8 9 9 Write to exceptq .trp file or ?:\fm2_trap.log 10 10 where ? is boot volume 11 11 12 06 Dec 08 SHL Baseline (Ticket #26) 12 2008-12-06 SHL Baseline (Ticket #26) 13 2015-04-03 SHL HandleException: check for ignore before checking for cascade 13 14 14 15 ************************************************************/ … … 138 139 static PSZ pszExcpMsg = "Caught exception %lx in process %lx (%lu) thread %u at %.24s"; 139 140 140 // Try to report cascading exceptions in handler only once141 // This simple test can get confused if multiple threads trap at same time142 if (++working > 1) {143 if (working == 2) {144 DbgMsg(pszSrcFile, __LINE__, "Caught exception %lx at %p while handler active",145 ex, pContext->ctx_RegEip);146 }147 working--;148 return XCPT_CONTINUE_SEARCH;149 }150 151 141 // Bypass exceptions we don't handle or exceptions we ignore 152 142 // Keep in sync with exceptq selections since exceptq will ignore anyway … … 160 150 ex == XCPT_SINGLE_STEP) 161 151 { 152 return XCPT_CONTINUE_SEARCH; 153 } 154 155 // Try to report cascading exceptions in handler only once 156 // This simple test can get confused if multiple threads trap at same time 157 if (++working > 1) { 158 if (working == 2) { 159 DbgMsg(pszSrcFile, __LINE__, "Caught exception %lx at %p while handler active", 160 ex, pContext->ctx_RegEip); 161 } 162 162 working--; 163 163 return XCPT_CONTINUE_SEARCH;
Note:
See TracChangeset
for help on using the changeset viewer.