private void BreakPoint(BREAKPOINT bp) { //debugMgr.FreezeDebugee(); isFreezed = true; FormCotrolHelper.ControlInvike(breakpointStatus, () => { breakpointStatus.Text = "Break point on thread id " + bp.Threadid + "\n" + bp.frame; }); //FormCotrolHelper.ControlInvike(FreezeBtn, () => //{ // isFreezed = true; // FreezeBtn.Text = "GO"; //}); FormCotrolHelper.ControlInvike(threadStackTrace, () => { threadStackTrace.Text = string.Empty; }); }
void debug_FuntionBreakPoint(CorThread thread) { BREAKPOINT bp = new BREAKPOINT(); bp.Threadid = thread.ID; bp.frame = MetadataMgr.GetFullName(thread.StackFrames[0].Function); BreakPointFunctionNotifcation(bp); }