Skip to content

if typing while gdb is trying to print something,the integrated terminal and gdb will froze #13577

Open
@Youngmoss

Description

@Youngmoss

Environment

  • OS and version:Window11 latest
  • VS Code:latest
  • C/C++ extension:Latest
  • OS and version of remote machine (if applicable):
  • GDB / LLDB version:GNU gdb (GDB) 16.2

Bug Summary and Steps to Reproduce

Bug Summary:

start run or debug code and quickly try to type something on integrated terminal,such as before following print

Thread 1 hit Breakpoint 1, 0x00007ff7ffde19ef in main ()
Loaded 'C:\Windows\SYSTEM32\ntdll.dll'. Symbols loaded.

Debugger Configurations

{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "C/C++: g++.exe 构建和调试活动文件",
      "type": "cppdbg",
      "request": "launch",
      "program": "${fileDirname}\\a.exe",
      "args": [],
      "stopAtEntry": false,
      "cwd": "${fileDirname}",
      "environment": [],
      "externalConsole": false,
      "internalConsoleOptions": "openOnSessionStart",
      "MIMode": "gdb",
      "targetArchitecture": "x86_64",
      "miDebuggerPath": "D:\\code\\msys\\mingw64\\bin\\gdb.exe",
      "setupCommands": [
        {
          "description": "为 gdb 启用整齐打印",
          "text": "-enable-pretty-printing",
          "ignoreFailures": true
        }
      ],
      "logging": { "engineLogging": true, "trace": true, "traceResponse": true },
      "preLaunchTask": "C/C++: g++.exe 生成活动文件"
    },
  ]
}
{
    "tasks": [
        {
            "type": "cppbuild",
            "label": "C/C++: g++.exe 生成活动文件",
            "command": "D:/code/msys/mingw64/bin/g++.exe",
            "args": [
                "-std=c++20",
                "-Dlocal",
                "${file}",
                "-o",
                "${fileDirname}\\a.exe"
            ],
            "problemMatcher": [
                "$gcc"
            ],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "detail": "调试器生成的任务。"
        },
    ],
    "version": "2.0.0"
}

Debugger Logs

<--   C (disconnect-7): {"command":"disconnect","arguments":{"restart":true},"type":"request","seq":7}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9734) ->~\"[Thread 21040.0x5264 exited with code 0]\\n\"\r\n"},"seq":573}
1: (9734) ->~"[Thread 21040.0x5264 exited with code 0]\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9734) <-1021kill\r\n"},"seq":575}
1: (9734) <-1021kill
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9734) ->=thread-exited,id=\"4\",group-id=\"i1\"\r\n"},"seq":577}
1: (9734) ->=thread-exited,id="4",group-id="i1"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9735) ->~\"[Thread 21040.0x41b0 exited with code 0]\\n\"\r\n"},"seq":579}
1: (9735) ->~"[Thread 21040.0x41b0 exited with code 0]\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9735) ->=thread-exited,id=\"3\",group-id=\"i1\"\r\n"},"seq":581}
1: (9735) ->=thread-exited,id="3",group-id="i1"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9735) ->~\"[Thread 21040.0x5050 exited with code 0]\\n\"\r\n"},"seq":583}
1: (9735) ->~"[Thread 21040.0x5050 exited with code 0]\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9735) ->=thread-exited,id=\"2\",group-id=\"i1\"\r\n"},"seq":585}
1: (9735) ->=thread-exited,id="2",group-id="i1"
--> E (output): {"type":"event","event":"output","body":{"category":"stdout","output":"[Thread 21040.0x5264 exited with code 0]\n"},"seq":587}
[Thread 21040.0x5264 exited with code 0]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9735) ->&\"kill\\n\"\r\n"},"seq":589}
1: (9735) ->&"kill\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9736) ->~\"Kill the program being debugged? (y or n) [answered Y; input not from terminal]\\n\"\r\n"},"seq":591}
1: (9736) ->~"Kill the program being debugged? (y or n) [answered Y; input not from terminal]\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9736) ->~\"error return ../../gdb-16.2/gdb/windows-nat.c:2913 was 5: \\276\\334\\276\\370\\267\\303\\316\\312\\241\\243\\n\"\r\n"},"seq":593}
1: (9736) ->~"error return ../../gdb-16.2/gdb/windows-nat.c:2913 was 5: \276\334\276\370\267\303\316\312\241\243\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9736) ->&\"Failed to resume program execution - ContinueDebugEvent failed (error 87): \\262\\316\\312\\375\\264\\355\\316\\363\\241\\243\\n\"\r\n"},"seq":595}
1: (9736) ->&"Failed to resume program execution - ContinueDebugEvent failed (error 87): \262\316\312\375\264\355\316\363\241\243\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9736) ->1021^error,msg=\"Failed to resume program execution - ContinueDebugEvent failed (error 87): \\262\\316\\312\\375\\264\\355\\316\\363\\241\\243\"\r\n"},"seq":597}
1: (9736) ->1021^error,msg="Failed to resume program execution - ContinueDebugEvent failed (error 87): \262\316\312\375\264\355\316\363\241\243"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9736) ->(gdb)\r\n"},"seq":599}
1: (9736) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9736) ->&\"\\n\"\r\n"},"seq":601}
1: (9736) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9737) ->^done\r\n"},"seq":603}
1: (9737) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9737) Send Event AD7ThreadDestroyEvent\r\n"},"seq":605}
1: (9737) Send Event AD7ThreadDestroyEvent
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9737) ->(gdb)\r\n"},"seq":607}
--> E (output): {"type":"event","event":"output","body":{"category":"stdout","output":"[Thread 21040.0x41b0 exited with code 0]\n"},"seq":609}
1: (9737) ->(gdb)
[Thread 21040.0x41b0 exited with code 0]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9737) Send Event AD7ThreadDestroyEvent\r\n"},"seq":611}
1: (9737) Send Event AD7ThreadDestroyEvent
--> E (output): {"type":"event","event":"output","body":{"category":"stdout","output":"[Thread 21040.0x5050 exited with code 0]\n"},"seq":613}
[Thread 21040.0x5050 exited with code 0]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9737) Send Event AD7ThreadDestroyEvent\r\n"},"seq":615}
1: (9737) Send Event AD7ThreadDestroyEvent
--> E (output): {"type":"event","event":"output","body":{"category":"stdout","output":"Kill the program being debugged? (y or n) [answered Y; input not from terminal]\n"},"seq":617}
Kill the program being debugged? (y or n) [answered Y; input not from terminal]
--> E (output): {"type":"event","event":"output","body":{"category":"stdout","output":"error return ../../gdb-16.2/gdb/windows-nat.c:2913 was 5: �ܾ����ʡ�\n"},"seq":619}
error return ../../gdb-16.2/gdb/windows-nat.c:2913 was 5: �ܾ����ʡ�
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9738) 1021: elapsed time 4\r\n"},"seq":621}
1: (9738) 1021: elapsed time 4
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9739) <--gdb-exit\r\n"},"seq":623}
1: (9739) <--gdb-exit
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9757) ->^exit\r\n"},"seq":625}
1: (9757) ->^exit
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9758) ->~\"error return ../../gdb-16.2/gdb/windows-nat.c:2913 was 6: \\276\\344\\261\\372\\316\\336\\320\\247\\241\\243\\n\"\r\n"},"seq":627}
1: (9758) ->~"error return ../../gdb-16.2/gdb/windows-nat.c:2913 was 6: \276\344\261\372\316\336\320\247\241\243\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9758) ->&\"Failed to resume program execution - ContinueDebugEvent failed (error 87): \\262\\316\\312\\375\\264\\355\\316\\363\\241\\243\\n\"\r\n"},"seq":629}
1: (9758) ->&"Failed to resume program execution - ContinueDebugEvent failed (error 87): \262\316\312\375\264\355\316\363\241\243\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9762) Send Event AD7ProgramDestroyEvent\r\n"},"seq":631}
1: (9762) Send Event AD7ProgramDestroyEvent
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"The program 'D:\\code\\MyC++\\moban\\icpc\\a.exe' has exited with code 42 (0x0000002a).\r\n\r\n"},"seq":633}
The program 'D:\code\MyC++\moban\icpc\a.exe' has exited with code 42 (0x0000002a).
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (9765) Shell exited, stop debugging\r\n"},"seq":635}
1: (9765) Shell exited, stop debugging
--> E (output): {"type":"event","event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/DebugCompleted","data":{"VS.Diagnostics.Debugger.ImplementationName":"Microsoft.MIDebugEngine","VS.Diagnostics.Debugger.EngineVersion":"17.12.21003.1","VS.Diagnostics.Debugger.HostVersion":"17.12.21003.1","VS.Diagnostics.Debugger.AdapterId":"cppdbg","VS.Diagnostics.Debugger.DebugCompleted.BreakCounter":0}},"seq":637}
--> E (output): {"type":"event","event":"output","body":{"category":"stdout","output":"error return ../../gdb-16.2/gdb/windows-nat.c:2913 was 6: �������\n"},"seq":640}
error return ../../gdb-16.2/gdb/windows-nat.c:2913 was 6: �������
--> R (disconnect-7): {"type":"response","request_seq":7,"success":true,"command":"disconnect","body":{},"seq":639}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (49) LaunchOptions{\"name\":\"C/C++: g++.exe 构建和调试活动文件\",\"type\":\"cppdbg\",\"request\":\"launch\",\"program\":\"D:\\\\code\\\\MyC++\\\\moban\\\\icpc\\\\a.exe\",\"args\":[],\"stopAtEntry\":false,\"cwd\":\"D:\\\\code\\\\MyC++\\\\moban\\\\icpc\",\"environment\":[],\"externalConsole\":false,\"internalConsoleOptions\":\"openOnSessionStart\",\"MIMode\":\"gdb\",\"targetArchitecture\":\"x86_64\",\"miDebuggerPath\":\"D:\\\\code\\\\msys\\\\mingw64\\\\bin\\\\gdb.exe\",\"setupCommands\":[{\"description\":\"为 gdb 启用整齐打印\",\"text\":\"-enable-pretty-printing\",\"ignoreFailures\":true}],\"logging\":{\"engineLogging\":true,\"trace\":true,\"traceResponse\":true},\"preLaunchTask\":\"C/C++: g++.exe 生成活动文件\",\"__configurationTarget\":6,\"configSource\":\"workspaceFolder\",\"debugType\":\"debug\",\"__sessionId\":\"d3dc9260-04e6-4de8-9504-6657dcf3df00\"}\r\n"},"seq":2}
1: (49) LaunchOptions{"name":"C/C++: g++.exe 构建和调试活动文件","type":"cppdbg","request":"launch","program":"D:\\code\\MyC++\\moban\\icpc\\a.exe","args":[],"stopAtEntry":false,"cwd":"D:\\code\\MyC++\\moban\\icpc","environment":[],"externalConsole":false,"internalConsoleOptions":"openOnSessionStart","MIMode":"gdb","targetArchitecture":"x86_64","miDebuggerPath":"D:\\code\\msys\\mingw64\\bin\\gdb.exe","setupCommands":[{"description":"为 gdb 启用整齐打印","text":"-enable-pretty-printing","ignoreFailures":true}],"logging":{"engineLogging":true,"trace":true,"traceResponse":true},"preLaunchTask":"C/C++: g++.exe 生成活动文件","__configurationTarget":6,"configSource":"workspaceFolder","debugType":"debug","__sessionId":"d3dc9260-04e6-4de8-9504-6657dcf3df00"}
--> C (runInTerminal-4): {"type":"request","command":"runInTerminal","arguments":{"kind":"integrated","title":"cppdbg: a.exe","cwd":"","args":["c:\\Users\\daona\\.vscode\\extensions\\ms-vscode.cpptools-1.25.3-win32-x64\\debugAdapters\\bin\\WindowsDebugLauncher.exe","--stdin=Microsoft-MIEngine-In-n5w4ewqy.osa","--stdout=Microsoft-MIEngine-Out-wfy0zdjr.m2y","--stderr=Microsoft-MIEngine-Error-ln3kklmp.jxx","--pid=Microsoft-MIEngine-Pid-p43gj2ph.ogt","--dbgExe=D:\\code\\msys\\mingw64\\bin\\gdb.exe","--interpreter=mi"],"env":{}},"seq":4}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (95) Wait for connection completion.\r\n"},"seq":6}
1: (95) Wait for connection completion.
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (459) ->=thread-group-added,id=\"i1\"\r\n"},"seq":8}
1: (459) ->=thread-group-added,id="i1"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (464) ->~\"GNU gdb (GDB) 16.2\\n\"\r\n"},"seq":10}
1: (464) ->~"GNU gdb (GDB) 16.2\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (465) ->~\"Copyright (C) 2024 Free Software Foundation, Inc.\\n\"\r\n"},"seq":12}
1: (465) ->~"Copyright (C) 2024 Free Software Foundation, Inc.\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (465) ->~\"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\\nThis is free software: you are free to change and redistribute it.\\nThere is NO WARRANTY, to the extent permitted by law.\"\r\n"},"seq":14}
1: (465) ->~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law."
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (465) ->~\"\\nType \\\"\"\r\n"},"seq":16}
1: (465) ->~"\nType \""
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (466) ->~\"show copying\\\" and \\\"show warranty\\\" for details.\\n\"\r\n"},"seq":18}
1: (466) ->~"show copying\" and \"show warranty\" for details.\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (466) ->~\"This GDB was configured as \\\"x86_64-w64-mingw32\\\".\\n\"\r\n"},"seq":20}
1: (466) ->~"This GDB was configured as \"x86_64-w64-mingw32\".\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (466) ->~\"Type \\\"show configuration\\\" for configuration details.\\n\"\r\n"},"seq":22}
1: (466) ->~"Type \"show configuration\" for configuration details.\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (466) ->~\"For bug reporting instructions, please see:\\n\"\r\n"},"seq":24}
1: (466) ->~"For bug reporting instructions, please see:\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (466) ->~\"<https://www.gnu.org/software/gdb/bugs/>.\\n\"\r\n"},"seq":26}
1: (466) ->~"<https://www.gnu.org/software/gdb/bugs/>.\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (467) ->~\"Find the GDB manual and other documentation resources online at:\\n    <\"\r\n"},"seq":28}
1: (467) ->~"Find the GDB manual and other documentation resources online at:\n    <"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (467) ->~\"http://www.gnu.org/software/gdb/documentation/>.\\n\\n\"\r\n"},"seq":30}
1: (467) ->~"http://www.gnu.org/software/gdb/documentation/>.\n\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (467) ->~\"For help, type \\\"help\\\".\\n\"\r\n"},"seq":32}
1: (467) ->~"For help, type \"help\".\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (467) ->~\"Type \\\"apropos word\\\" to search for commands related to \\\"word\\\".\\n\"\r\n"},"seq":34}
1: (467) ->~"Type \"apropos word\" to search for commands related to \"word\".\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (469) ->(gdb)\r\n"},"seq":36}
1: (469) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (471) <-1001-gdb-set mi-async on\r\n"},"seq":38}
1: (471) <-1001-gdb-set mi-async on
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (479) ->1001^done\r\n"},"seq":40}
1: (479) ->1001^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (479) ->(gdb)\r\n"},"seq":42}
1: (479) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (479) ->&\"\\n\"\r\n"},"seq":44}
1: (479) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (479) ->^done\r\n"},"seq":46}
1: (479) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (479) ->(gdb)\r\n"},"seq":48}
1: (479) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (480) 1001: elapsed time 10\r\n"},"seq":50}
1: (480) 1001: elapsed time 10
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (483) <-1002-interpreter-exec console \"show configuration\"\r\n"},"seq":52}
1: (483) <-1002-interpreter-exec console "show configuration"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (494) ->~\"This GDB was configured as follows:\\n   configure --host=\"\r\n"},"seq":54}
1: (494) ->~"This GDB was configured as follows:\n   configure --host="
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (495) ->~\"x86_64-w64-mingw32 --target=x86_64-w64-mingw32\\n\"\r\n"},"seq":56}
1: (495) ->~"x86_64-w64-mingw32 --target=x86_64-w64-mingw32\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (495) ->~\"\\t     --with-auto-load-dir=$debugdir:$datadir/auto-load\\n\\t     --with-auto-load-safe-path=\"\r\n"},"seq":58}
1: (495) ->~"\t     --with-auto-load-dir=$debugdir:$datadir/auto-load\n\t     --with-auto-load-safe-path="
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (495) ->~\"$debugdir:$datadir/auto-load\\n\"\r\n"},"seq":60}
1: (495) ->~"$debugdir:$datadir/auto-load\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (495) ->~\"\\t     --with-expat\\n\"\r\n"},"seq":62}
1: (495) ->~"\t     --with-expat\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (495) ->~\"\\t     --with-gdb-datadir=/mingw64/share/gdb (relocatable)\\n\"\r\n"},"seq":64}
1: (495) ->~"\t     --with-gdb-datadir=/mingw64/share/gdb (relocatable)\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (495) ->~\"\\t     --with-jit-reader-dir=/mingw64/lib/gdb (relocatable)\\n\"\r\n"},"seq":66}
1: (495) ->~"\t     --with-jit-reader-dir=/mingw64/lib/gdb (relocatable)\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (495) ->~\"\\t     --without-libunwind-ia64\\n\"\r\n"},"seq":68}
1: (495) ->~"\t     --without-libunwind-ia64\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (495) ->~\"\\t     --with-lzma\\n\"\r\n"},"seq":70}
1: (495) ->~"\t     --with-lzma\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (495) ->~\"\\t     --without-babeltrace\\n\"\r\n"},"seq":72}
1: (495) ->~"\t     --without-babeltrace\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (496) ->~\"\\t     --without-intel-pt\\n\"\r\n"},"seq":74}
1: (496) ->~"\t     --without-intel-pt\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (496) ->~\"\\t     --with-xxhash\\n\"\r\n"},"seq":76}
1: (496) ->~"\t     --with-xxhash\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (496) ->~\"\\t     --with-python=/mingw64 (relocatable)\\n\"\r\n"},"seq":78}
1: (496) ->~"\t     --with-python=/mingw64 (relocatable)\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (496) ->~\"\\t     --with-python-libdir=/mingw64/lib (relocatable)\\n\"\r\n"},"seq":80}
1: (496) ->~"\t     --with-python-libdir=/mingw64/lib (relocatable)\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (496) ->~\"\\t     --without-debuginfod\\n\"\r\n"},"seq":82}
1: (496) ->~"\t     --without-debuginfod\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (496) ->~\"\\t     --with-curses\\n\"\r\n"},"seq":84}
1: (496) ->~"\t     --with-curses\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (497) ->~\"\\t     --without-guile\\n\"\r\n"},"seq":86}
1: (497) ->~"\t     --without-guile\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (497) ->~\"\\t     --without-amd-dbgapi\\n\"\r\n"},"seq":88}
1: (497) ->~"\t     --without-amd-dbgapi\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (497) ->~\"\\t     --disable-source-highlight\\n\"\r\n"},"seq":90}
1: (497) ->~"\t     --disable-source-highlight\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (497) ->~\"\\t     --enable-threading\\n\"\r\n"},"seq":92}
1: (497) ->~"\t     --enable-threading\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (497) ->~\"\\t     --enable-tui\\n\"\r\n"},"seq":94}
1: (497) ->~"\t     --enable-tui\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (497) ->~\"\\t     --with-system-readline\\n\"\r\n"},"seq":96}
1: (497) ->~"\t     --with-system-readline\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (497) ->~\"\\t     --with-separate-debug-dir=/mingw64/lib/debug (relocatable)\\n\"\r\n"},"seq":98}
1: (497) ->~"\t     --with-separate-debug-dir=/mingw64/lib/debug (relocatable)\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (497) ->~\"\\t     --with-system-gdbinit=/mingw64/etc/gdbinit (relocatable)\\n\"\r\n"},"seq":100}
1: (497) ->~"\t     --with-system-gdbinit=/mingw64/etc/gdbinit (relocatable)\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (497) ->~\"\\n(\\\"Relocatable\\\" means the directory can be moved with the GDB installation\\ntree, and GDB will still find it.)\\n\"\r\n"},"seq":102}
1: (497) ->~"\n(\"Relocatable\" means the directory can be moved with the GDB installation\ntree, and GDB will still find it.)\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (497) ->~\"\\n\"\r\n"},"seq":104}
1: (497) ->~"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (498) ->~\"GNU Readline library version: 8.2\\t(system)\\n\"\r\n"},"seq":106}
1: (498) ->~"GNU Readline library version: 8.2\t(system)\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (498) ->1002^done\r\n"},"seq":108}
1: (498) ->1002^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (498) 1002: elapsed time 15\r\n"},"seq":110}
1: (498) 1002: elapsed time 15
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (498) ->(gdb)\r\n"},"seq":112}
1: (498) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (498) ->&\"\\n\"\r\n"},"seq":114}
1: (498) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (503) ->^done\r\n"},"seq":116}
1: (503) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (503) ->(gdb)\r\n"},"seq":118}
1: (503) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/MIEngine/WindowsRuntime","data":{"VS.Diagnostics.Debugger.MIEngine.WindowsRuntime":"MinGW"}},"seq":120}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (510) <-1003-enable-pretty-printing\r\n"},"seq":122}
1: (510) <-1003-enable-pretty-printing
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (525) ->1003^done\r\n"},"seq":124}
1: (525) ->1003^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (525) ->(gdb)\r\n"},"seq":126}
1: (525) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (525) 1003: elapsed time 14\r\n"},"seq":128}
1: (525) 1003: elapsed time 14
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (525) ->&\"\\n\"\r\n"},"seq":130}
1: (525) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (525) <-1004-interpreter-exec console \"set pagination off\"\r\n"},"seq":132}
1: (525) <-1004-interpreter-exec console "set pagination off"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (525) ->^done\r\n"},"seq":134}
1: (525) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (525) ->(gdb)\r\n"},"seq":136}
1: (525) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (541) ->=cmd-param-changed,param=\"pagination\",value=\"off\"\r\n"},"seq":138}
1: (541) ->=cmd-param-changed,param="pagination",value="off"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (541) ->1004^done\r\n"},"seq":140}
1: (541) ->1004^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (541) 1004: elapsed time 16\r\n"},"seq":142}
1: (541) 1004: elapsed time 16
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (541) <-1005-gdb-set auto-solib-add on\r\n"},"seq":144}
1: (541) <-1005-gdb-set auto-solib-add on
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (541) ->(gdb)\r\n"},"seq":146}
1: (541) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (541) ->&\"\\n\"\r\n"},"seq":148}
1: (541) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (541) ->^done\r\n"},"seq":150}
1: (541) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (542) ->(gdb)\r\n"},"seq":152}
1: (542) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (542) ->1005^done\r\n"},"seq":154}
1: (542) ->1005^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (542) 1005: elapsed time 0\r\n"},"seq":156}
1: (542) 1005: elapsed time 0
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (542) <-1006-gdb-set solib-search-path D:\\\\code\\\\MyC++\\\\moban\\\\icpc;\r\n"},"seq":158}
1: (542) <-1006-gdb-set solib-search-path D:\\code\\MyC++\\moban\\icpc;
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (542) ->(gdb)\r\n"},"seq":160}
1: (542) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (542) ->&\"\\n\"\r\n"},"seq":162}
1: (542) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (542) ->^done\r\n"},"seq":164}
1: (542) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (542) ->(gdb)\r\n"},"seq":166}
1: (542) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (542) ->1006^done\r\n"},"seq":168}
1: (542) ->1006^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (542) 1006: elapsed time 0\r\n"},"seq":170}
1: (542) 1006: elapsed time 0
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (542) ->(gdb)\r\n"},"seq":172}
1: (542) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (542) <-1007-environment-cd D:\\\\code\\\\MyC++\\\\moban\\\\icpc\r\n"},"seq":174}
1: (542) <-1007-environment-cd D:\\code\\MyC++\\moban\\icpc
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (542) ->&\"\\n\"\r\n"},"seq":176}
1: (542) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (543) ->^done\r\n"},"seq":178}
1: (543) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (543) ->(gdb)\r\n"},"seq":180}
1: (543) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (543) ->1007^done\r\n"},"seq":182}
1: (543) ->1007^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (543) 1007: elapsed time 0\r\n"},"seq":184}
1: (543) 1007: elapsed time 0
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (543) <-1008-file-exec-and-symbols D:\\\\code\\\\MyC++\\\\moban\\\\icpc\\\\a.exe\r\n"},"seq":186}
1: (543) <-1008-file-exec-and-symbols D:\\code\\MyC++\\moban\\icpc\\a.exe
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (543) ->(gdb)\r\n"},"seq":188}
1: (543) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (543) ->&\"\\n\"\r\n"},"seq":190}
1: (543) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (544) ->^done\r\n"},"seq":192}
1: (544) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (544) ->(gdb)\r\n"},"seq":194}
1: (544) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (547) ->1008^done\r\n"},"seq":196}
1: (547) ->1008^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (547) 1008: elapsed time 3\r\n"},"seq":198}
1: (547) 1008: elapsed time 3
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (547) ->(gdb)\r\n"},"seq":200}
1: (547) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (547) <-1009-interpreter-exec console \"show architecture\"\r\n"},"seq":202}
1: (547) <-1009-interpreter-exec console "show architecture"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (547) ->&\"\\n\"\r\n"},"seq":204}
1: (547) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (547) ->^done\r\n"},"seq":206}
1: (547) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (547) ->(gdb)\r\n"},"seq":208}
1: (547) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (547) ->~\"The target architecture is set to \\\"auto\\\" (currently \\\"i386:x86-64\\\").\\n\"\r\n"},"seq":210}
1: (547) ->~"The target architecture is set to \"auto\" (currently \"i386:x86-64\").\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (548) ->1009^done\r\n"},"seq":212}
1: (548) ->1009^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (548) 1009: elapsed time 0\r\n"},"seq":214}
1: (548) 1009: elapsed time 0
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (548) ->(gdb)\r\n"},"seq":216}
1: (548) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (548) ->&\"\\n\"\r\n"},"seq":218}
1: (548) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (548) ->^done\r\n"},"seq":220}
1: (548) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (548) ->(gdb)\r\n"},"seq":222}
1: (548) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (548) <-1010-exec-arguments 2>CON 1>CON <CON\r\n"},"seq":224}
1: (548) <-1010-exec-arguments 2>CON 1>CON <CON
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (549) ->1010^done\r\n"},"seq":226}
1: (549) ->1010^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (549) 1010: elapsed time 0\r\n"},"seq":228}
1: (549) 1010: elapsed time 0
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (549) <-1011-break-insert -f main\r\n"},"seq":230}
1: (549) <-1011-break-insert -f main
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (549) ->(gdb)\r\n"},"seq":232}
1: (549) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (549) ->&\"\\n\"\r\n"},"seq":234}
1: (549) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (549) ->^done\r\n"},"seq":236}
1: (549) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (549) ->(gdb)\r\n"},"seq":238}
1: (549) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (550) ->1011^done,bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x00000001400019ef\",at=\"<main+13>\",thread-groups=[\"i1\"],times=\"0\",original-location=\"main\"}\r\n"},"seq":240}
1: (550) ->1011^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00000001400019ef",at="<main+13>",thread-groups=["i1"],times="0",original-location="main"}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (550) ->(gdb)\r\n"},"seq":242}
1: (550) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (550) ->&\"\\n\"\r\n"},"seq":244}
1: (550) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (550) ->^done\r\n"},"seq":246}
1: (550) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (550) ->(gdb)\r\n"},"seq":248}
1: (550) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (554) 1011: elapsed time 5\r\n"},"seq":250}
1: (554) 1011: elapsed time 5
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (557) Send Event AD7EngineCreateEvent\r\n"},"seq":252}
1: (557) Send Event AD7EngineCreateEvent
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (559) Send Event AD7ProgramCreateEvent\r\n"},"seq":254}
1: (559) Send Event AD7ProgramCreateEvent
--> E (output): {"type":"event","event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/Launch","data":{"VS.Diagnostics.Debugger.ImplementationName":"Microsoft.MIDebugEngine","VS.Diagnostics.Debugger.EngineVersion":"17.12.21003.1","VS.Diagnostics.Debugger.HostVersion":"17.12.21003.1","VS.Diagnostics.Debugger.AdapterId":"cppdbg","VS.Diagnostics.Debugger.Launch.Duration":520,"VS.Diagnostics.Debugger.Launch.IsNoDebug":true,"VS.Diagnostics.Debugger.MIMode":"gdb","VS.Diagnostics.Debugger.FrameworkVersion":"8.0.824.36612"}},"seq":256}
--> R (launch-2): {"type":"response","request_seq":2,"success":true,"command":"launch","body":{},"seq":258}
--> E (initialized): {"type":"event","event":"initialized","body":{},"seq":260}
<--   R (runInTerminal-4) [476 ms]: {"type":"response","seq":3,"command":"runInTerminal","request_seq":4,"success":true,"body":{"shellProcessId":7376}}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (574) ShellPid=8300\r\n"},"seq":263}
1: (574) ShellPid=8300
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (584) DebuggerPid=6896\r\n"},"seq":265}
1: (584) DebuggerPid=6896
<--   C (configurationDone-4): {"command":"configurationDone","type":"request","seq":4}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (586) Send Event AD7LoadCompleteEvent\r\n"},"seq":269}
1: (586) Send Event AD7LoadCompleteEvent
--> R (configurationDone-4): {"type":"response","request_seq":4,"success":true,"command":"configurationDone","body":{},"seq":268}
--> E (output): {"type":"event","event":"output","body":{"category":"stdout","output":"=thread-group-added,id=\"i1\"\nGNU gdb (GDB) 16.2\nCopyright (C) 2024 Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\nType \"show copying\" and \"show warranty\" for details.\nThis GDB was configured as \"x86_64-w64-mingw32\".\nType \"show configuration\" for configuration details.\nFor bug reporting instructions, please see:\n<https://www.gnu.org/software/gdb/bugs/>.\nFind the GDB manual and other documentation resources online at:\n    <http://www.gnu.org/software/gdb/documentation/>.\n\nFor help, type \"help\".\nType \"apropos word\" to search for commands related to \"word\".\n=cmd-param-changed,param=\"pagination\",value=\"off\"\n"},"seq":272}
=thread-group-added,id="i1"
GNU gdb (GDB) 16.2
Copyright (C) 2024 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
=cmd-param-changed,param="pagination",value="off"
<--   C (threads-5): {"command":"threads","type":"request","seq":5}
--> R (threads-5): {"type":"response","request_seq":5,"success":true,"command":"threads","body":{"threads":[]},"seq":275}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (597) <-1012-exec-run\r\n"},"seq":277}
1: (597) <-1012-exec-run
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1358) ->=thread-group-started,id=\"i1\",pid=\"20876\"\r\n"},"seq":279}
1: (1358) ->=thread-group-started,id="i1",pid="20876"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1359) ->=thread-created,id=\"1\",group-id=\"i1\"\r\n"},"seq":281}
1: (1359) ->=thread-created,id="1",group-id="i1"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1361) <-1013-thread-info 1\r\n"},"seq":283}
1: (1361) <-1013-thread-info 1
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1361) ->=thread-created,id=\"2\",group-id=\"i1\"\r\n"},"seq":285}
1: (1361) ->=thread-created,id="2",group-id="i1"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1362) ->~\"[New Thread 20876.0x5368]\\n\"\r\n"},"seq":287}
1: (1362) ->~"[New Thread 20876.0x5368]\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1362) ->=thread-created,id=\"3\",group-id=\"i1\"\r\n"},"seq":289}
1: (1362) ->=thread-created,id="3",group-id="i1"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1362) ->~\"[New Thread 20876.0x3e04]\\n\"\r\n"},"seq":291}
1: (1362) ->~"[New Thread 20876.0x3e04]\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1362) ->=thread-created,id=\"4\",group-id=\"i1\"\r\n"},"seq":293}
1: (1362) ->=thread-created,id="4",group-id="i1"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1363) ->~\"[New Thread 20876.0x4e64]\\n\"\r\n"},"seq":295}
1: (1363) ->~"[New Thread 20876.0x4e64]\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1363) <-1014-thread-info 2\r\n"},"seq":297}
1: (1363) <-1014-thread-info 2
--> E (output): {"type":"event","event":"output","body":{"category":"stdout","output":"[New Thread 20876.0x5368]\n"},"seq":299}
[New Thread 20876.0x5368]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1364) <-1015-thread-info 3\r\n"},"seq":301}
1: (1364) <-1015-thread-info 3
--> E (output): {"type":"event","event":"output","body":{"category":"stdout","output":"[New Thread 20876.0x3e04]\n"},"seq":303}
[New Thread 20876.0x3e04]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1364) <-1016-thread-info 4\r\n"},"seq":305}
1: (1364) <-1016-thread-info 4
--> E (output): {"type":"event","event":"output","body":{"category":"stdout","output":"[New Thread 20876.0x4e64]\n"},"seq":307}
[New Thread 20876.0x4e64]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1366) ->=breakpoint-modified,bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x00007ff6553e19ef\",at=\"<main+13>\",thread-groups=[\"i1\"],times=\"0\",original-location=\"main\"}\r\n"},"seq":309}
1: (1366) ->=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00007ff6553e19ef",at="<main+13>",thread-groups=["i1"],times="0",original-location="main"}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1371) ->=library-loaded,id=\"C:\\\\Windows\\\\SYSTEM32\\\\ntdll.dll\",target-name=\"C:\\\\Windows\\\\SYSTEM32\\\\ntdll.dll\",host-name=\"C:\\\\Windows\\\\SYSTEM32\\\\ntdll.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x00007ffd08311000\",to=\"0x00007ffd08526624\"}]\r\n"},"seq":311}
1: (1371) ->=library-loaded,id="C:\\Windows\\SYSTEM32\\ntdll.dll",target-name="C:\\Windows\\SYSTEM32\\ntdll.dll",host-name="C:\\Windows\\SYSTEM32\\ntdll.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007ffd08311000",to="0x00007ffd08526624"}]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1371) ->=library-loaded,id=\"C:\\\\Windows\\\\System32\\\\kernel32.dll\",target-name=\"C:\\\\Windows\\\\System32\\\\kernel32.dll\",host-name=\"C:\\\\Windows\\\\System32\\\\kernel32.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x00007ffd07d11000\",to=\"0x00007ffd07dd339c\"}]\r\n"},"seq":313}
1: (1371) ->=library-loaded,id="C:\\Windows\\System32\\kernel32.dll",target-name="C:\\Windows\\System32\\kernel32.dll",host-name="C:\\Windows\\System32\\kernel32.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007ffd07d11000",to="0x00007ffd07dd339c"}]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1372) ->=library-loaded,id=\"C:\\\\Windows\\\\System32\\\\KernelBase.dll\",target-name=\"C:\\\\Windows\\\\System32\\\\KernelBase.dll\",host-name=\"C:\\\\Windows\\\\System32\\\\KernelBase.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x00007ffd05711000\",to=\"0x00007ffd05ae0cd0\"}]\r\n"},"seq":315}
1: (1372) ->=library-loaded,id="C:\\Windows\\System32\\KernelBase.dll",target-name="C:\\Windows\\System32\\KernelBase.dll",host-name="C:\\Windows\\System32\\KernelBase.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007ffd05711000",to="0x00007ffd05ae0cd0"}]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1372) ->=library-loaded,id=\"C:\\\\Windows\\\\System32\\\\msvcrt.dll\",target-name=\"C:\\\\Windows\\\\System32\\\\msvcrt.dll\",host-name=\"C:\\\\Windows\\\\System32\\\\msvcrt.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x00007ffd07fb1000\",to=\"0x00007ffd08056580\"}]\r\n"},"seq":317}
1: (1372) ->=library-loaded,id="C:\\Windows\\System32\\msvcrt.dll",target-name="C:\\Windows\\System32\\msvcrt.dll",host-name="C:\\Windows\\System32\\msvcrt.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007ffd07fb1000",to="0x00007ffd08056580"}]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1373) ->=library-loaded,id=\"D:\\\\code\\\\msys\\\\mingw64\\\\bin\\\\libgcc_s_seh-1.dll\",target-name=\"D:\\\\code\\\\msys\\\\mingw64\\\\bin\\\\libgcc_s_seh-1.dll\",host-name=\"D:\\\\code\\\\msys\\\\mingw64\\\\bin\\\\libgcc_s_seh-1.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x00007ffcedb81000\",to=\"0x00007ffcedbab060\"}]\r\n"},"seq":319}
1: (1373) ->=library-loaded,id="D:\\code\\msys\\mingw64\\bin\\libgcc_s_seh-1.dll",target-name="D:\\code\\msys\\mingw64\\bin\\libgcc_s_seh-1.dll",host-name="D:\\code\\msys\\mingw64\\bin\\libgcc_s_seh-1.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007ffcedb81000",to="0x00007ffcedbab060"}]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1373) ->=library-loaded,id=\"D:\\\\code\\\\msys\\\\mingw64\\\\bin\\\\libstdc++-6.dll\",target-name=\"D:\\\\code\\\\msys\\\\mingw64\\\\bin\\\\libstdc++-6.dll\",host-name=\"D:\\\\code\\\\msys\\\\mingw64\\\\bin\\\\libstdc++-6.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x00007ffc87961000\",to=\"0x00007ffc87baf0b4\"}]\r\n"},"seq":321}
1: (1373) ->=library-loaded,id="D:\\code\\msys\\mingw64\\bin\\libstdc++-6.dll",target-name="D:\\code\\msys\\mingw64\\bin\\libstdc++-6.dll",host-name="D:\\code\\msys\\mingw64\\bin\\libstdc++-6.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007ffc87961000",to="0x00007ffc87baf0b4"}]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1373) ->=library-loaded,id=\"D:\\\\code\\\\msys\\\\mingw64\\\\bin\\\\libwinpthread-1.dll\",target-name=\"D:\\\\code\\\\msys\\\\mingw64\\\\bin\\\\libwinpthread-1.dll\",host-name=\"D:\\\\code\\\\msys\\\\mingw64\\\\bin\\\\libwinpthread-1.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x00007ffc95221000\",to=\"0x00007ffc9523405c\"}]\r\n"},"seq":323}
1: (1373) ->=library-loaded,id="D:\\code\\msys\\mingw64\\bin\\libwinpthread-1.dll",target-name="D:\\code\\msys\\mingw64\\bin\\libwinpthread-1.dll",host-name="D:\\code\\msys\\mingw64\\bin\\libwinpthread-1.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007ffc95221000",to="0x00007ffc9523405c"}]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1400) ->1012^running\r\n"},"seq":325}
1: (1400) ->1012^running
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1400) 1012: elapsed time 803\r\n"},"seq":327}
1: (1400) 1012: elapsed time 803
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1400) ->*running,thread-id=\"all\"\r\n"},"seq":329}
1: (1400) ->*running,thread-id="all"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1400) ->(gdb)\r\n"},"seq":331}
1: (1400) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1401) ->&\"\\n\"\r\n"},"seq":333}
1: (1401) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1401) ->^done\r\n"},"seq":335}
1: (1401) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1401) ->(gdb)\r\n"},"seq":337}
1: (1401) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1401) ->1013^done,threads=[{id=\"1\",target-id=\"Thread 20876.0x1584\",state=\"running\"}]\r\n"},"seq":339}
1: (1401) ->1013^done,threads=[{id="1",target-id="Thread 20876.0x1584",state="running"}]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1401) ->(gdb)\r\n"},"seq":341}
1: (1401) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1402) ->&\"\\n\"\r\n"},"seq":343}
1: (1402) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1402) ->^done\r\n"},"seq":345}
1: (1402) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1402) ->(gdb)\r\n"},"seq":347}
1: (1402) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1402) ->1014^done,threads=[{id=\"2\",target-id=\"Thread 20876.0x5368\",state=\"running\"}]\r\n"},"seq":349}
1: (1402) ->1014^done,threads=[{id="2",target-id="Thread 20876.0x5368",state="running"}]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1402) ->(gdb)\r\n"},"seq":351}
1: (1402) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1403) ->&\"\\n\"\r\n"},"seq":353}
1: (1403) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1403) ->^done\r\n"},"seq":355}
1: (1403) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1403) 1013: elapsed time 42\r\n"},"seq":357}
1: (1403) 1013: elapsed time 42
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1403) ->(gdb)\r\n"},"seq":359}
1: (1403) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1406) Send Event AD7ProcessInfoUpdatedEvent\r\n"},"seq":361}
1: (1406) Send Event AD7ProcessInfoUpdatedEvent
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1407) ->=library-loaded,id=\"C:\\\\Windows\\\\SYSTEM32\\\\cryptbase.dll\",target-name=\"C:\\\\Windows\\\\SYSTEM32\\\\cryptbase.dll\",host-name=\"C:\\\\Windows\\\\SYSTEM32\\\\cryptbase.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x00007ffd04ce1000\",to=\"0x00007ffd04ceb044\"}]\r\n"},"seq":363}
1: (1407) ->=library-loaded,id="C:\\Windows\\SYSTEM32\\cryptbase.dll",target-name="C:\\Windows\\SYSTEM32\\cryptbase.dll",host-name="C:\\Windows\\SYSTEM32\\cryptbase.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007ffd04ce1000",to="0x00007ffd04ceb044"}]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1408) ->1015^done,threads=[{id=\"3\",target-id=\"Thread 20876.0x3e04\",state=\"running\"}]\r\n"},"seq":366}
1: (1408) ->1015^done,threads=[{id="3",target-id="Thread 20876.0x3e04",state="running"}]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1408) ->(gdb)\r\n"},"seq":368}
1: (1408) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1408) ->&\"\\n\"\r\n"},"seq":370}
1: (1408) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1408) ->^done\r\n"},"seq":372}
1: (1408) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1408) ->(gdb)\r\n"},"seq":374}
1: (1408) ->(gdb)
--> E (process): {"type":"event","event":"process","body":{"startMethod":"launch","name":"D:\\code\\MyC++\\moban\\icpc\\a.exe","systemProcessId":20876,"pointerSize":64},"seq":364}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1412) Send Event AD7ThreadCreateEvent\r\n"},"seq":377}
1: (1412) Send Event AD7ThreadCreateEvent
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1414) ->=library-loaded,id=\"C:\\\\Windows\\\\System32\\\\bcryptprimitives.dll\",target-name=\"C:\\\\Windows\\\\System32\\\\bcryptprimitives.dll\",host-name=\"C:\\\\Windows\\\\System32\\\\bcryptprimitives.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x00007ffd05df1000\",to=\"0x00007ffd05e6a4ac\"}]\r\n"},"seq":380}
1: (1414) ->=library-loaded,id="C:\\Windows\\System32\\bcryptprimitives.dll",target-name="C:\\Windows\\System32\\bcryptprimitives.dll",host-name="C:\\Windows\\System32\\bcryptprimitives.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x00007ffd05df1000",to="0x00007ffd05e6a4ac"}]
--> E (thread): {"type":"event","event":"thread","body":{"reason":"started","threadId":1},"seq":379}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1415) ->1016^done,threads=[{id=\"4\",target-id=\"Thread 20876.0x4e64\",state=\"running\"}]\r\n"},"seq":383}
1: (1415) ->1016^done,threads=[{id="4",target-id="Thread 20876.0x4e64",state="running"}]
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1415) ->(gdb)\r\n"},"seq":385}
1: (1415) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1415) ->&\"\\n\"\r\n"},"seq":387}
1: (1415) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1415) ->^done\r\n"},"seq":389}
1: (1415) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1415) ->(gdb)\r\n"},"seq":391}
1: (1415) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1416) 1014: elapsed time 52\r\n"},"seq":393}
1: (1416) 1014: elapsed time 52
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1416) Send Event AD7ThreadCreateEvent\r\n"},"seq":395}
1: (1416) Send Event AD7ThreadCreateEvent
--> E (thread): {"type":"event","event":"thread","body":{"reason":"started","threadId":2},"seq":397}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1416) 1015: elapsed time 52\r\n"},"seq":399}
1: (1416) 1015: elapsed time 52
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1416) Send Event AD7ThreadCreateEvent\r\n"},"seq":401}
1: (1416) Send Event AD7ThreadCreateEvent
--> E (thread): {"type":"event","event":"thread","body":{"reason":"started","threadId":3},"seq":403}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1416) 1016: elapsed time 51\r\n"},"seq":405}
1: (1416) 1016: elapsed time 51
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (1416) Send Event AD7ThreadCreateEvent\r\n"},"seq":407}
1: (1416) Send Event AD7ThreadCreateEvent
--> E (thread): {"type":"event","event":"thread","body":{"reason":"started","threadId":4},"seq":409}
<--   C (threads-6): {"command":"threads","type":"request","seq":6}
--> R (threads-6): {"type":"response","request_seq":6,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":" [1]"},{"id":2,"name":" [2]"},{"id":3,"name":" [3]"},{"id":4,"name":" [4]"}]},"seq":412}

Other Extensions

I tried disable all other.
Background
Python
Jupyter

Additional Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdebuggerhelp wantedCan be fixed in the public (open source) repo.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions