MCPcopy Create free account
hub / github.com/beefytech/Beef / WinDebugger

Method WinDebugger

IDEHelper/WinDebugger.cpp:483–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481}
482
483WinDebugger::WinDebugger(DebugManager* debugManager) : mDbgSymSrv(this)
484{
485 ZeroMemory(&mProcessInfo, sizeof(mProcessInfo));
486
487 mActiveHotIdx = -1;
488 mGotStartupEvent = false;
489 mIsContinuingFromException = false;
490 mDestroying = false;
491 mDebugManager = debugManager;
492 mNeedsRehupBreakpoints = false;
493 mStepInAssembly = false;
494 mStepSP = 0;
495 mStepIsRecursing = false;
496 mStepStopOnNextInstruction = false;
497 mDebugTarget = NULL;
498 mShuttingDown = false;
499 mBfSystem = new BfSystem();
500 mAtBreakThread = NULL;
501 mActiveThread = NULL;
502 mActiveBreakpoint = NULL;
503 mSteppingThread = NULL;
504 mExplicitStopThread = NULL;
505 mStepSwitchedThreads = false;
506 mIsDebuggerWaiting = false;
507 mWantsDebugContinue = false;
508 mContinueFromBreakpointFailed = false;
509 mIsStepIntoSpecific = false;
510 mDbgBreak = false;
511 mDebuggerWaitingThread = NULL;
512 mStepType = StepType_None;
513 mOrigStepType = StepType_None;
514 mLastValidStepIntoPC = 0;
515 mActiveSymSrvRequest = NULL;
516 mStdInputPipe = INVALID_HANDLE_VALUE;
517 mStdOutputPipe = INVALID_HANDLE_VALUE;
518 mStdErrorPipe = INVALID_HANDLE_VALUE;
519
520 mStoredReturnValueAddr = 0;
521#ifdef BF_DBG_32
522 mCPU = gX86Target->mX86CPU;
523#else
524 mCPU = gX86Target->mX64CPU;
525#endif
526 mRunState = RunState_NotStarted;
527 mIsRunning = false;
528 mSavedAtBreakpointAddress = 0;
529 mSavedBreakpointAddressContinuing = 0;
530 mRequestedStackFrameIdx = 0;
531 mShowPCOverride = 0;
532 mCurNoInfoStepTries = 0;
533 mDbgAttachFlags = BfDbgAttachFlag_None;
534 mDbgProcessHandle = 0;
535 mDbgThreadHandle = 0;
536 mDbgProcessId = 0;
537 mDbgHeapData = NULL;
538 mIsPartialCallStack = true;
539 mHotSwapEnabled = false;
540 mOpenFileFlags = DbgOpenFileFlag_None;

Callers

nothing calls this directly

Calls 3

WdThreadInfoClass · 0.85
CreateEmptyTargetMethod · 0.80
push_backMethod · 0.45

Tested by

no test coverage detected