Lines Matching +defs:debug +defs:mode
89 // entry point, and then return the run loop mode that should come next.
123 RNBLogSTDOUT("Attach succeeded, ready to debug.\n");
191 // This run loop mode will wait for the process to launch and hit its
359 // This run loop mode will wait for the process to launch and hit its
420 // Return the new run loop mode based off of the current process state
516 // Init our mode and set 'is_running' based on the current process state
517 RNBRunLoopMode mode = HandleProcessStateChange(remote, true);
572 mode = HandleProcessStateChange(remote, false);
579 mode = eRNBRunLoopModeExit;
609 mode = eRNBRunLoopModeExit;
617 if (mode != eRNBRunLoopModeInferiorExecuting)
621 return mode;
625 RNBRunLoopMode mode = eRNBRunLoopModePlatformMode;
628 while (mode == eRNBRunLoopModePlatformMode) {
645 mode = eRNBRunLoopModeExit;
649 mode = eRNBRunLoopModeExit;
802 {"debug", no_argument, NULL, 'g'},
847 'p'}, // Put this executable into a remote platform mode
944 int debug = 0;
1166 debug = 1;
1167 DNBLogSetDebug(debug);
1378 DNBLog("debugserver running in --applist mode");
1411 // This happens automatically in the "launching" mode. For the rest, we
1421 RNBRunLoopMode mode = start_mode;
1424 while (mode != eRNBRunLoopModeExit) {
1425 switch (mode) {
1433 mode = eRNBRunLoopModeExit;
1436 DNBLog("debugserver running in applist mode under lockdown");
1452 mode = eRNBRunLoopModeExit;
1464 mode = eRNBRunLoopModeExit;
1467 mode = eRNBRunLoopModeExit;
1473 mode = eRNBRunLoopModeExit;
1478 if (mode != eRNBRunLoopModeExit) {
1482 mode = RNBRunLoopGetStartModeFromRemote(remote);
1515 mode = eRNBRunLoopModeExit;
1518 mode = eRNBRunLoopModeInferiorExecuting;
1524 mode = RNBRunLoopLaunchAttaching(remote, attach_pid, attached_pid);
1525 if (mode != eRNBRunLoopModeInferiorExecuting) {
1529 mode = eRNBRunLoopModeExit;
1550 mode = eRNBRunLoopModeExit;
1553 mode = eRNBRunLoopModeInferiorExecuting;
1559 mode = eRNBRunLoopModeExit;
1562 if (mode != eRNBRunLoopModeExit) {
1566 mode = eRNBRunLoopModeExit;
1569 mode = eRNBRunLoopModeExit;
1575 mode = eRNBRunLoopModeExit;
1580 if (mode != eRNBRunLoopModeExit)
1587 mode = RNBRunLoopLaunchInferior(remote, ctx.GetSTDINPath(),
1591 if (mode == eRNBRunLoopModeInferiorExecuting) {
1595 mode = eRNBRunLoopModeExit;
1598 mode = eRNBRunLoopModeExit;
1604 mode = eRNBRunLoopModeExit;
1609 if (mode != eRNBRunLoopModeExit) {
1626 mode = RNBRunLoopInferiorExecuting(remote);
1633 mode = eRNBRunLoopModeExit;
1636 mode = eRNBRunLoopModeExit;
1642 mode = eRNBRunLoopModeExit;
1647 if (mode != eRNBRunLoopModeExit)
1648 mode = RNBRunLoopPlatform(remote);
1652 mode = eRNBRunLoopModeExit;