returns the hit type if the breakpoint stops
| 1116 | |
| 1117 | // returns the hit type if the breakpoint stops |
| 1118 | static BreakpointHit_t HitBreakpoint(Breakpoint_t * pBP, BreakpointHit_t eHitType, int iBreakpoint) |
| 1119 | { |
| 1120 | if (pBP->bStop && g_breakpointHitID < 0) |
| 1121 | { |
| 1122 | g_breakpointHitID = iBreakpoint; |
| 1123 | _ASSERT(g_pDebugBreakpointHit == nullptr); |
| 1124 | g_pDebugBreakpointHit = pBP; |
| 1125 | } |
| 1126 | |
| 1127 | pBP->bHit = true; |
| 1128 | ++pBP->nHitCount; |
| 1129 | return pBP->bStop ? eHitType : BP_HIT_NONE; |
| 1130 | } |
| 1131 | |
| 1132 | |
| 1133 | // Returns true if we should continue checking breakpoint details, else false |
no outgoing calls
no test coverage detected