本文整理汇总了C++中EventPtr::getEventBreakpoint方法的典型用法代码示例。如果您正苦于以下问题:C++ EventPtr::getEventBreakpoint方法的具体用法?C++ EventPtr::getEventBreakpoint怎么用?C++ EventPtr::getEventBreakpoint使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类EventPtr
的用法示例。
在下文中一共展示了EventPtr::getEventBreakpoint方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: handle_internal
//.........这里部分代码省略.........
case EventType::Stop:
break;
// Interesting events
case EventType::Exit:
ret = handleExit(ev->getEventExit(), evProc);
break;
case EventType::Crash:
ret = handleCrash(ev->getEventCrash(), evProc);
break;
case EventType::ForceTerminate:
ret = handleForceTerminate(ev->getEventForceTerminate(), evProc);
break;
case EventType::Fork:
ret = handleFork(ev->getEventFork(), evProc);
break;
case EventType::Exec:
// On Post-Exec, a new PCProcess is created
ret = handleExec(ev->getEventExec(), evProc);
break;
case EventType::UserThreadCreate:
case EventType::LWPCreate:
case EventType::ThreadCreate:
ret = handleThreadCreate(ev->getEventNewThread(), evProc);
break;
case EventType::UserThreadDestroy:
case EventType::LWPDestroy:
case EventType::ThreadDestroy:
ret = handleThreadDestroy(ev->getEventThreadDestroy(), evProc);
break;
case EventType::Signal:
ret = handleSignal(ev->getEventSignal(), evProc);
break;
case EventType::Breakpoint:
ret = handleBreakpoint(ev->getEventBreakpoint(), evProc);
break;
case EventType::LibraryLoad:
case EventType::LibraryUnload:
case EventType::Library:
ret = handleLibrary(ev->getEventLibrary(), evProc);
break;
case EventType::RPC:
ret = handleRPC(ev->getEventRPC(), evProc);
break;
default:
proccontrol_printf("%s[%d]: ignoring unknown event: %s\n",
FILE__, __LINE__, ev->getEventType().name().c_str());
break;
}
//evProc->decPendingEvents();
evProc->setInEventHandling(prevEventHandlingState);
if( dyn_debug_proccontrol ) {
proccontrol_printf("%s[%d]: continue condition ( %d %d %d %d %d %d )\n",
FILE__, __LINE__,
(int) ret,
(int) (evProc->getDesiredProcessState() == PCProcess::ps_running),
(int) evProc->isStopped(),
(int) !evProc->hasReportedEvent(),
(int) !evProc->isTerminated(),
(int) !evProc->hasPendingEvents());
}
if(ret // there were no errors
&& evProc->getDesiredProcessState() == PCProcess::ps_running // the user wants the process running
&& evProc->isStopped() // the process is stopped