move bms
This commit is contained in:
@@ -53,21 +53,6 @@ namespace Project
|
||||
// F11: 모든 스레드 상태 덤프
|
||||
DumpAllThreadsState();
|
||||
}
|
||||
else if (e1.KeyCode == Keys.F12 && System.Diagnostics.Debugger.IsAttached)
|
||||
{
|
||||
// F12: 다음 sm_Running 호출시 디버거 중단
|
||||
RequestDebugBreak = true;
|
||||
var lastCall = DateTime.Now - lastSmRunningTime;
|
||||
PUB.log.Add("DEBUG", $"F12 pressed - 마지막 sm_Running 호출: {lastCall.TotalSeconds:F1}초 전, IsThreadRun: {PUB.sm.IsThreadRun}");
|
||||
System.Windows.Forms.MessageBox.Show(
|
||||
$"다음 sm_Running 호출시 디버거가 중단됩니다.\n\n" +
|
||||
$"마지막 호출: {lastCall.TotalSeconds:F1}초 전\n" +
|
||||
$"IsThreadRun: {PUB.sm.IsThreadRun}\n" +
|
||||
$"Current Step: {PUB.sm.Step}",
|
||||
"디버그 모드",
|
||||
System.Windows.Forms.MessageBoxButtons.OK,
|
||||
System.Windows.Forms.MessageBoxIcon.Information);
|
||||
}
|
||||
|
||||
if (DateTime.Now > PUB.LastInputTime) PUB.LastInputTime = DateTime.Now;
|
||||
};
|
||||
@@ -1094,8 +1079,8 @@ namespace Project
|
||||
var sb = new System.Text.StringBuilder();
|
||||
sb.AppendLine("===== 스레드 상태 덤프 =====");
|
||||
sb.AppendLine($"시간: {DateTime.Now:yyyy-MM-dd HH:mm:ss.fff}");
|
||||
sb.AppendLine($"마지막 sm_Running 호출: {(DateTime.Now - lastSmRunningTime).TotalSeconds:F1}초 전");
|
||||
sb.AppendLine($"sm_Running 호출 횟수: {sm_Running_CallCount}");
|
||||
//sb.AppendLine($"마지막 sm_Running 호출: {(DateTime.Now - lastSmRunningTime).TotalSeconds:F1}초 전");
|
||||
//sb.AppendLine($"sm_Running 호출 횟수: {sm_Running_CallCount}");
|
||||
sb.AppendLine($"IsThreadRun: {PUB.sm.IsThreadRun}");
|
||||
sb.AppendLine($"Current Step: {PUB.sm.Step}");
|
||||
sb.AppendLine($"Current RunStep: {PUB.sm.RunStep}");
|
||||
@@ -1123,7 +1108,7 @@ namespace Project
|
||||
|
||||
MessageBox.Show(
|
||||
$"스레드 덤프 완료\n로그 파일에 저장되었습니다.\n\n" +
|
||||
$"마지막 sm_Running: {(DateTime.Now - lastSmRunningTime).TotalSeconds:F1}초 전\n" +
|
||||
//$"마지막 sm_Running: {(DateTime.Now - lastSmRunningTime).TotalSeconds:F1}초 전\n" +
|
||||
$"IsThreadRun: {PUB.sm.IsThreadRun}",
|
||||
"스레드 덤프",
|
||||
MessageBoxButtons.OK,
|
||||
|
||||
Reference in New Issue
Block a user