microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.51k stars 1.55k forks source link

[Windows][Powershell] debugger launches external terminal even if `"externalConsole": false` is set #3672

Closed ghost closed 3 years ago

ghost commented 5 years ago

Type: Debugger

Describe the bug

I have "externalConsole" set to false in my launch.json. However, sometimes a useless external console opens anyways; specifically, this only and always happens after a fresh build. I enter a key and it goes away, at which point the program continues as normal in the integrated terminal. My integrated terminal uses PowerShell. This happens to all programs that I've tried

To Reproduce Please include a code sample and launch.json configuration. Steps to reproduce the behavior:

  1. Build the file (does not happen if the build is not fresh, then it works as expected)
  2. Launch the debugger
  3. See a terminal window pop up, which just goes away when you enter a key
  4. The program continues as normal in the integrated terminal

Additional context

Let me know if you would like details about my setup other than what's given.


Launch logging (when external terminal pops up):

--> E (output): {"event":"output","body":{"category":"console","output":"1: (353) LaunchOptions<LocalLaunchOptions xmlns='http://schemas.microsoft.com/vstudio/MDDDebuggerOptions/2014'\r\n"},"seq":2,"type":"event"}

1: (353) LaunchOptions<LocalLaunchOptions xmlns='http://schemas.microsoft.com/vstudio/MDDDebuggerOptions/2014'

--> E (output): {"event":"output","body":{"category":"console","output":"1: (378) LaunchOptions ExePath='C:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\build\twostones.exe'\r\n"},"seq":4,"type":"event"}

1: (378) LaunchOptions ExePath='C:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\build\twostones.exe'

--> E (output): {"event":"output","body":{"category":"console","output":"1: (379) LaunchOptions WorkingDirectory='C:\Users\tomja\OneDrive\Documents\CompetitiveProgramming'\r\n"},"seq":6,"type":"event"}

1: (379) LaunchOptions WorkingDirectory='C:\Users\tomja\OneDrive\Documents\CompetitiveProgramming'

--> E (output): {"event":"output","body":{"category":"console","output":"1: (380) LaunchOptions ExeArguments='2>CON 1>CON <CON'\r\n"},"seq":8,"type":"event"}

1: (380) LaunchOptions ExeArguments='2>CON 1>CON <CON'

--> E (output): {"event":"output","body":{"category":"console","output":"1: (380) LaunchOptions MIMode='gdb'\r\n"},"seq":10,"type":"event"}

1: (380) LaunchOptions MIMode='gdb'

--> E (output): {"event":"output","body":{"category":"console","output":"1: (384) LaunchOptions MIDebuggerPath='C:\Program Files (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin\gdb.exe'\r\n"},"seq":12,"type":"event"}

1: (384) LaunchOptions MIDebuggerPath='C:\Program Files (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin\gdb.exe'

--> E (output): {"event":"output","body":{"category":"console","output":"1: (385) LaunchOptions WaitDynamicLibLoad='false'\r\n"},"seq":14,"type":"event"}

1: (385) LaunchOptions WaitDynamicLibLoad='false'

--> E (output): {"event":"output","body":{"category":"console","output":"1: (386) LaunchOptions>\r\n"},"seq":16,"type":"event"}

1: (386) LaunchOptions>

--> E (output): {"event":"output","body":{"category":"console","output":"1: (387) LaunchOptions \r\n"},"seq":18,"type":"event"}

1: (387) LaunchOptions

--> E (output): {"event":"output","body":{"category":"console","output":"1: (388) LaunchOptions -enable-pretty-printing\r\n"},"seq":20,"type":"event"}

1: (388) LaunchOptions -enable-pretty-printing

--> E (output): {"event":"output","body":{"category":"console","output":"1: (389) LaunchOptions \r\n"},"seq":22,"type":"event"}

1: (389) LaunchOptions

--> E (output): {"event":"output","body":{"category":"console","output":"1: (389) LaunchOptions\r\n"},"seq":24,"type":"event"}

1: (389) LaunchOptions

--> C (runInTerminal-26): {"command":"runInTerminal","arguments":{"kind":"integrated","title":"cppdbg: twostones.exe","cwd":"","args":["c:\Users\tomja\.vscode\extensions\ms-vscode.cpptools-0.23.1\debugAdapters\bin\WindowsDebugLauncher.exe","--stdin=Microsoft-MIEngine-In-k03tjynx.gjk","--stdout=Microsoft-MIEngine-Out-uuduflbd.hom","--stderr=Microsoft-MIEngine-Error-duzvwqas.e4k","--pid=Microsoft-MIEngine-Pid-yxod1tuh.yqu","--dbgExe=C:\Program Files (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin\gdb.exe","--interpreter=mi"],"env":{}},"seq":26,"type":"request"}

--> E (output): {"event":"output","body":{"category":"console","output":"1: (577) Wait for connection completion.\r\n"},"seq":28,"type":"event"}

1: (577) Wait for connection completion.

--> E (output): {"event":"output","body":{"category":"console","output":"1: (2958) ->=thread-group-added,id=\"i1\"\r\n"},"seq":30,"type":"event"}

1: (2958) ->=thread-group-added,id="i1"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (2961) ->~\"GNU gdb (GDB) 8.1\n\"\r\n"},"seq":32,"type":"event"}

1: (2961) ->~"GNU gdb (GDB) 8.1\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (2964) ->~\"Copyright (C) 2018 Free Software Foundation, Inc.\n\"\r\n"},"seq":34,"type":"event"}

1: (2964) ->~"Copyright (C) 2018 Free Software Foundation, Inc.\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3002) ->~\"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. Type \\"show copying\\"\nand \\"show warranty\\" for details.\n\"\r\n"},"seq":36,"type":"event"}

1: (3002) ->~"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. Type \"show copying\"\nand \"show warranty\" for details.\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3014) ->~\"This GDB was configured as \\"i686-w64-mingw32\\".\nType \\"show configuration\\" for configuration details.\"\r\n"},"seq":38,"type":"event"}

1: (3014) ->~"This GDB was configured as \"i686-w64-mingw32\".\nType \"show configuration\" for configuration details."

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3049) ->~\"\nFor bug reporting instructions, please see:\n\"\r\n"},"seq":40,"type":"event"}

1: (3049) ->~"\nFor bug reporting instructions, please see:\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3069) ->~\"http://www.gnu.org/software/gdb/bugs/.\n\"\r\n"},"seq":42,"type":"event"}

1: (3069) ->~"http://www.gnu.org/software/gdb/bugs/.\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3087) ->~\"Find the GDB manual and other documentation resources online at:\nhttp://www.gnu.org/software/gdb/documentation/.\n\"\r\n"},"seq":44,"type":"event"}

1: (3087) ->~"Find the GDB manual and other documentation resources online at:\nhttp://www.gnu.org/software/gdb/documentation/.\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3102) ->~\"For help, type \\"help\\".\n\"\r\n"},"seq":46,"type":"event"}

1: (3102) ->~"For help, type \"help\".\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3124) ->~\"Type \\"apropos word\\" to search for commands related to \\"word\\".\n\"\r\n"},"seq":48,"type":"event"}

1: (3124) ->~"Type \"apropos word\" to search for commands related to \"word\".\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3125) ->(gdb)\r\n"},"seq":50,"type":"event"}

1: (3125) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3134) <-1001-gdb-set target-async on\r\n"},"seq":52,"type":"event"}

1: (3134) <-1001-gdb-set target-async on

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3136) ->1001^done\r\n"},"seq":54,"type":"event"}

1: (3136) ->1001^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3138) ->(gdb)\r\n"},"seq":56,"type":"event"}

1: (3138) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3139) 1001: elapsed time 6\r\n"},"seq":58,"type":"event"}

1: (3139) 1001: elapsed time 6

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3139) ->&\"\n\"\r\n"},"seq":60,"type":"event"}

1: (3139) ->&"\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3147) ->^done\r\n"},"seq":62,"type":"event"}

1: (3147) ->^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3153) ->(gdb)\r\n"},"seq":64,"type":"event"}

1: (3153) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3158) <-1002-enable-pretty-printing\r\n"},"seq":66,"type":"event"}

1: (3158) <-1002-enable-pretty-printing

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3178) ->1002^done\r\n"},"seq":68,"type":"event"}

1: (3178) ->1002^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3178) 1002: elapsed time 20\r\n"},"seq":70,"type":"event"}

1: (3178) 1002: elapsed time 20

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3179) <-1003-interpreter-exec console \"set pagination off\"\r\n"},"seq":72,"type":"event"}

1: (3179) <-1003-interpreter-exec console "set pagination off"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3185) ->(gdb)\r\n"},"seq":74,"type":"event"}

1: (3185) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3193) ->&\"\n\"\r\n"},"seq":76,"type":"event"}

1: (3193) ->&"\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3196) ->^done\r\n"},"seq":78,"type":"event"}

1: (3196) ->^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3198) ->(gdb)\r\n"},"seq":80,"type":"event"}

1: (3198) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3199) ->=cmd-param-changed,param=\"pagination\",value=\"off\"\r\n"},"seq":82,"type":"event"}

1: (3199) ->=cmd-param-changed,param="pagination",value="off"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3199) ->1003^done\r\n"},"seq":84,"type":"event"}

1: (3199) ->1003^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3200) 1003: elapsed time 20\r\n"},"seq":86,"type":"event"}

1: (3200) 1003: elapsed time 20

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3201) <-1004-gdb-set auto-solib-add on\r\n"},"seq":88,"type":"event"}

1: (3201) <-1004-gdb-set auto-solib-add on

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3202) ->(gdb)\r\n"},"seq":90,"type":"event"}

1: (3202) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3203) ->&\"\n\"\r\n"},"seq":92,"type":"event"}

1: (3203) ->&"\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3206) ->^done\r\n"},"seq":94,"type":"event"}

1: (3206) ->^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3209) ->(gdb)\r\n"},"seq":96,"type":"event"}

1: (3209) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3209) ->1004^done\r\n"},"seq":98,"type":"event"}

1: (3209) ->1004^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3210) 1004: elapsed time 8\r\n"},"seq":100,"type":"event"}

1: (3210) 1004: elapsed time 8

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3210) <-1005-gdb-set solib-search-path C:\\Users\\tomja\\OneDrive\\Documents\\CompetitiveProgramming\\build;\r\n"},"seq":102,"type":"event"}

1: (3210) <-1005-gdb-set solib-search-path C:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\build;

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3210) ->(gdb)\r\n"},"seq":104,"type":"event"}

1: (3210) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3213) ->&\"\n\"\r\n"},"seq":106,"type":"event"}

1: (3213) ->&"\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3213) ->^done\r\n"},"seq":108,"type":"event"}

1: (3213) ->^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3214) ->(gdb)\r\n"},"seq":110,"type":"event"}

1: (3214) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3220) ->1005^done\r\n"},"seq":112,"type":"event"}

1: (3220) ->1005^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3221) 1005: elapsed time 10\r\n"},"seq":114,"type":"event"}

1: (3221) 1005: elapsed time 10

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3235) <-1006-environment-cd C:\\Users\\tomja\\OneDrive\\Documents\\CompetitiveProgramming\r\n"},"seq":116,"type":"event"}

1: (3235) <-1006-environment-cd C:\Users\tomja\OneDrive\Documents\CompetitiveProgramming

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3235) ->(gdb)\r\n"},"seq":118,"type":"event"}

1: (3235) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3241) ->&\"\n\"\r\n"},"seq":120,"type":"event"}

1: (3241) ->&"\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3242) ->^done\r\n"},"seq":122,"type":"event"}

1: (3242) ->^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3242) ->(gdb)\r\n"},"seq":124,"type":"event"}

1: (3242) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3245) ->1006^done\r\n"},"seq":126,"type":"event"}

1: (3245) ->1006^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3245) 1006: elapsed time 9\r\n"},"seq":128,"type":"event"}

1: (3245) 1006: elapsed time 9

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3247) ->(gdb)\r\n"},"seq":130,"type":"event"}

1: (3247) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3248) ->&\"\n\"\r\n"},"seq":132,"type":"event"}

1: (3248) ->&"\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3249) ->^done\r\n"},"seq":134,"type":"event"}

1: (3249) ->^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3250) ->(gdb)\r\n"},"seq":136,"type":"event"}

1: (3250) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3253) <-1007-interpreter-exec console \"show configuration\"\r\n"},"seq":138,"type":"event"}

1: (3253) <-1007-interpreter-exec console "show configuration"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3255) ->~\"This GDB was configured as follows:\n configure --host=i686-w64-mingw32 --target=i686-w64-mingw32\n\"\r\n"},"seq":140,"type":"event"}

1: (3255) ->~"This GDB was configured as follows:\n configure --host=i686-w64-mingw32 --target=i686-w64-mingw32\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3257) ->~\" --with-auto-load-dir=$debugdir:$datadir/auto-load\n --with-auto-load-safe-path=$debugdir:$datadir/auto-load\n\"\r\n"},"seq":142,"type":"event"}

1: (3257) ->~" --with-auto-load-dir=$debugdir:$datadir/auto-load\n --with-auto-load-safe-path=$debugdir:$datadir/auto-load\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3259) ->~\" --with-expat\n\"\r\n"},"seq":144,"type":"event"}

1: (3259) ->~" --with-expat\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3260) ->~\" --with-gdb-datadir=/c/mingw810/i686-810-posix-dwarf-rt_v6-rev0/mingw32/share/gdb (relocatable)\n\"\r\n"},"seq":146,"type":"event"}

1: (3260) ->~" --with-gdb-datadir=/c/mingw810/i686-810-posix-dwarf-rt_v6-rev0/mingw32/share/gdb (relocatable)\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3262) ->~\" --with-jit-reader-dir=/c/mingw810/i686-810-posix-dwarf-rt_v6-rev0/mingw32/lib/gdb (relocatable)\n\"\r\n"},"seq":148,"type":"event"}

1: (3262) ->~" --with-jit-reader-dir=/c/mingw810/i686-810-posix-dwarf-rt_v6-rev0/mingw32/lib/gdb (relocatable)\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3263) ->~\" --without-libunwind-ia64\n\"\r\n"},"seq":150,"type":"event"}

1: (3263) ->~" --without-libunwind-ia64\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3263) ->~\" --without-lzma\n\"\r\n"},"seq":152,"type":"event"}

1: (3263) ->~" --without-lzma\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3264) ->~\" --with-python=/c/mingw810/i686-810-posix-dwarf-rt_v6-rev0/mingw32/opt (relocatable)\n\"\r\n"},"seq":154,"type":"event"}

1: (3264) ->~" --with-python=/c/mingw810/i686-810-posix-dwarf-rt_v6-rev0/mingw32/opt (relocatable)\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3265) ->~\" --without-guile\n\"\r\n"},"seq":156,"type":"event"}

1: (3265) ->~" --without-guile\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3266) ->~\" --with-separate-debug-dir=/c/mingw810/i686-810-posix-dwarf-rt_v6-rev0/mingw32/lib/debug (relocatable)\n\"\r\n"},"seq":158,"type":"event"}

1: (3266) ->~" --with-separate-debug-dir=/c/mingw810/i686-810-posix-dwarf-rt_v6-rev0/mingw32/lib/debug (relocatable)\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3270) ->~\" --with-system-gdbinit=/c/mingw810/i686-810-posix-dwarf-rt_v6-rev0/mingw32/etc/gdbinit (relocatable)\n\"\r\n"},"seq":160,"type":"event"}

1: (3270) ->~" --with-system-gdbinit=/c/mingw810/i686-810-posix-dwarf-rt_v6-rev0/mingw32/etc/gdbinit (relocatable)\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3271) ->~\" --without-babeltrace\n\"\r\n"},"seq":162,"type":"event"}

1: (3271) ->~" --without-babeltrace\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3273) ->~\"\n(\\"Relocatable\\" means the directory can be moved with the GDB installation\ntree, and GDB will still find it.)\n\"\r\n"},"seq":164,"type":"event"}

1: (3273) ->~"\n(\"Relocatable\" means the directory can be moved with the GDB installation\ntree, and GDB will still find it.)\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3275) ->1007^done\r\n"},"seq":166,"type":"event"}

1: (3275) ->1007^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3276) 1007: elapsed time 23\r\n"},"seq":168,"type":"event"}

1: (3276) 1007: elapsed time 23

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3276) ->(gdb)\r\n"},"seq":170,"type":"event"}

1: (3276) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3279) ->&\"\n\"\r\n"},"seq":172,"type":"event"}

1: (3279) ->&"\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3280) ->^done\r\n"},"seq":174,"type":"event"}

1: (3280) ->^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3281) <-1008-file-exec-and-symbols C:\\Users\\tomja\\OneDrive\\Documents\\CompetitiveProgramming\\build\\twostones.exe\r\n"},"seq":177,"type":"event"}

1: (3281) <-1008-file-exec-and-symbols C:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\build\twostones.exe

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3281) ->(gdb)\r\n"},"seq":179,"type":"event"}

1: (3281) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3302) ->1008^done\r\n"},"seq":181,"type":"event"}

1: (3302) ->1008^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3302) 1008: elapsed time 20\r\n"},"seq":183,"type":"event"}

1: (3302) 1008: elapsed time 20

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3303) <-1009-interpreter-exec console \"show architecture\"\r\n"},"seq":185,"type":"event"}

1: (3303) <-1009-interpreter-exec console "show architecture"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3303) ->(gdb)\r\n"},"seq":187,"type":"event"}

1: (3303) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3305) ->&\"\n\"\r\n"},"seq":189,"type":"event"}

1: (3305) ->&"\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3306) ->^done\r\n"},"seq":191,"type":"event"}

1: (3306) ->^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3306) ->(gdb)\r\n"},"seq":193,"type":"event"}

1: (3306) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3313) ->~\"The target architecture is set automatically (currently i386)\n\"\r\n"},"seq":195,"type":"event"}

1: (3313) ->~"The target architecture is set automatically (currently i386)\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3314) ->1009^done\r\n"},"seq":197,"type":"event"}

1: (3314) ->1009^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3314) 1009: elapsed time 10\r\n"},"seq":199,"type":"event"}

1: (3314) 1009: elapsed time 10

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3316) ->(gdb)\r\n"},"seq":201,"type":"event"}

1: (3316) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3316) <-1010-exec-arguments 2>CON 1>CON <CON\r\n"},"seq":203,"type":"event"}

1: (3316) <-1010-exec-arguments 2>CON 1>CON <CON

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3322) ->&\"\n\"\r\n"},"seq":205,"type":"event"}

1: (3322) ->&"\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3324) ->^done\r\n"},"seq":207,"type":"event"}

1: (3324) ->^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3324) ->(gdb)\r\n"},"seq":209,"type":"event"}

1: (3324) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3325) ->1010^done\r\n"},"seq":211,"type":"event"}

1: (3325) ->1010^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3327) 1010: elapsed time 10\r\n"},"seq":213,"type":"event"}

1: (3327) 1010: elapsed time 10

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3328) <-1011-break-insert -f main\r\n"},"seq":215,"type":"event"}

1: (3328) <-1011-break-insert -f main

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3329) ->(gdb)\r\n"},"seq":217,"type":"event"}

1: (3329) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3329) ->&\"\n\"\r\n"},"seq":219,"type":"event"}

1: (3329) ->&"\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3330) ->^done\r\n"},"seq":221,"type":"event"}

1: (3330) ->^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3331) ->(gdb)\r\n"},"seq":223,"type":"event"}

1: (3331) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3337) ->1011^done,bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x00402660\",func=\"main()\",file=\"c:\\Users\\tomja\\OneDrive\\Documents\\CompetitiveProgramming\\twostones.cpp\",fullname=\"c:\\Users\\tomja\\OneDrive\\Documents\\CompetitiveProgramming\\twostones.cpp\",line=\"8\",thread-groups=[\"i1\"],times=\"0\",original-location=\"main\"}\r\n"},"seq":225,"type":"event"}

1: (3337) ->1011^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00402660",func="main()",file="c:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\twostones.cpp",fullname="c:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\twostones.cpp",line="8",thread-groups=["i1"],times="0",original-location="main"}

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3339) ->(gdb)\r\n"},"seq":227,"type":"event"}

1: (3339) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3341) ->&\"\n\"\r\n"},"seq":229,"type":"event"}

1: (3341) ->&"\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3343) ->^done\r\n"},"seq":231,"type":"event"}

1: (3343) ->^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3347) ->(gdb)\r\n"},"seq":233,"type":"event"}

1: (3347) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3353) 1011: elapsed time 25\r\n"},"seq":235,"type":"event"}

1: (3353) 1011: elapsed time 25

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3376) Send Event AD7EngineCreateEvent\r\n"},"seq":237,"type":"event"}

1: (3376) Send Event AD7EngineCreateEvent

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3385) Send Event AD7ProgramCreateEvent\r\n"},"seq":239,"type":"event"}

1: (3385) Send Event AD7ProgramCreateEvent

--> E (output): {"event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/Launch","data":{"VS.Diagnostics.Debugger.ImplementationName":"Microsoft.MIDebugEngine","VS.Diagnostics.Debugger.EngineVersion":"16.1.10504.1","VS.Diagnostics.Debugger.HostVersion":"16.1.10504.1","VS.Diagnostics.Debugger.AdapterId":"cppdbg","VS.Diagnostics.Debugger.Launch.Duration":3194,"VS.Diagnostics.Debugger.Launch.IsCoreDump":false,"VS.Diagnostics.Debugger.VisualizerFileUsed":false,"VS.Diagnostics.Debugger.SourceFileMappings":0}},"seq":241,"type":"event"}

--> R (launch-2): {"request_seq":2,"success":true,"command":"launch","body":{},"seq":243,"type":"response"}

--> E (initialized): {"event":"initialized","body":{},"seq":245,"type":"event"}

<-- R (runInTerminal-26) [2852 ms]: {"type":"response","seq":3,"command":"runInTerminal","request_seq":26,"success":true,"body":{"shellProcessId":15896}}

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3443) ShellPid=14136\r\n"},"seq":248,"type":"event"}

1: (3443) ShellPid=14136

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3456) DebuggerPid=4264\r\n"},"seq":250,"type":"event"}

1: (3456) DebuggerPid=4264

<-- C (setFunctionBreakpoints-4): {"command":"setFunctionBreakpoints","arguments":{"breakpoints":[]},"type":"request","seq":4}

--> R (setFunctionBreakpoints-4): {"request_seq":4,"success":true,"command":"setFunctionBreakpoints","body":{"breakpoints":[]},"seq":253,"type":"response"}

<-- C (setExceptionBreakpoints-5): {"command":"setExceptionBreakpoints","arguments":{"filters":[]},"type":"request","seq":5}

--> R (setExceptionBreakpoints-5): {"request_seq":5,"success":true,"command":"setExceptionBreakpoints","body":{},"seq":256,"type":"response"}

<-- C (configurationDone-6): {"command":"configurationDone","type":"request","seq":6}

--> R (configurationDone-6): {"request_seq":6,"success":true,"command":"configurationDone","body":{},"seq":259,"type":"response"}

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3498) Send Event AD7LoadCompleteEvent\r\n"},"seq":261,"type":"event"}

1: (3498) Send Event AD7LoadCompleteEvent

<-- C (threads-7): {"command":"threads","type":"request","seq":7}

--> R (threads-7): {"request_seq":7,"success":true,"command":"threads","body":{"threads":[]},"seq":264,"type":"response"}

--> E (output): {"event":"output","body":{"category":"stdout","output":"=thread-group-added,id=\"i1\"\nGNU gdb (GDB) 8.1\nCopyright (C) 2018 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. Type \"show copying\"\nand \"show warranty\" for details.\nThis GDB was configured as \"i686-w64-mingw32\".\nType \"show configuration\" for configuration details.\nFor bug reporting instructions, please see:\nhttp://www.gnu.org/software/gdb/bugs/.\nFind the GDB manual and other documentation resources online at:\nhttp://www.gnu.org/software/gdb/documentation/.\nFor help, type \"help\".\nType \"apropos word\" to search for commands related to \"word\".\nWarning: Debuggee TargetArchitecture not detected, assuming x86_64.\n=cmd-param-changed,param=\"pagination\",value=\"off\"\n"},"seq":266,"type":"event"}

=thread-group-added,id="i1" GNU gdb (GDB) 8.1 Copyright (C) 2018 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 "i686-w64-mingw32". Type "show configuration" for configuration details. For bug reporting instructions, please see: http://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". Warning: Debuggee TargetArchitecture not detected, assuming x86_64. =cmd-param-changed,param="pagination",value="off"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (3514) <-1012-exec-run\r\n"},"seq":268,"type":"event"}

1: (3514) <-1012-exec-run

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19093) ->=thread-group-started,id=\"i1\",pid=\"13944\"\r\n"},"seq":270,"type":"event"}

1: (19093) ->=thread-group-started,id="i1",pid="13944"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19094) ->=thread-created,id=\"1\",group-id=\"i1\"\r\n"},"seq":272,"type":"event"}

1: (19094) ->=thread-created,id="1",group-id="i1"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19096) ->~\"[New Thread 13944.0x35c8]\n\"\r\n"},"seq":274,"type":"event"}

1: (19096) ->~"[New Thread 13944.0x35c8]\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19110) <-1013-thread-info 1\r\n"},"seq":276,"type":"event"}

1: (19110) <-1013-thread-info 1

--> E (output): {"event":"output","body":{"category":"stdout","output":"[New Thread 13944.0x35c8]\n"},"seq":278,"type":"event"}

[New Thread 13944.0x35c8]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19273) ->=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=\"0x77b21000\",to=\"0x77cbbfc0\"}]\r\n"},"seq":280,"type":"event"}

1: (19273) ->=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="0x77b21000",to="0x77cbbfc0"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19282) ->=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=\"0x76e70000\",to=\"0x76f347a8\"}]\r\n"},"seq":282,"type":"event"}

1: (19282) ->=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="0x76e70000",to="0x76f347a8"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19284) ->=library-loaded,id=\"C:\\Program Files\\AVG\\Antivirus\\x86\\aswhook.dll\",target-name=\"C:\\Program Files\\AVG\\Antivirus\\x86\\aswhook.dll\",host-name=\"C:\\Program Files\\AVG\\Antivirus\\x86\\aswhook.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x6fda1000\",to=\"0x6fdafaac\"}]\r\n"},"seq":284,"type":"event"}

1: (19284) ->=library-loaded,id="C:\Program Files\AVG\Antivirus\x86\aswhook.dll",target-name="C:\Program Files\AVG\Antivirus\x86\aswhook.dll",host-name="C:\Program Files\AVG\Antivirus\x86\aswhook.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x6fda1000",to="0x6fdafaac"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19285) ->=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=\"0x75211000\",to=\"0x75409da4\"}]\r\n"},"seq":286,"type":"event"}

1: (19285) ->=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="0x75211000",to="0x75409da4"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19287) ->=library-loaded,id=\"C:\\WINDOWS\\SYSTEM32\\apphelp.dll\",target-name=\"C:\\WINDOWS\\SYSTEM32\\apphelp.dll\",host-name=\"C:\\WINDOWS\\SYSTEM32\\apphelp.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x5c061000\",to=\"0x5c0fb768\"}]\r\n"},"seq":288,"type":"event"}

1: (19287) ->=library-loaded,id="C:\WINDOWS\SYSTEM32\apphelp.dll",target-name="C:\WINDOWS\SYSTEM32\apphelp.dll",host-name="C:\WINDOWS\SYSTEM32\apphelp.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x5c061000",to="0x5c0fb768"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19288) ->=library-loaded,id=\"C:\\WINDOWS\\SYSTEM32\\AcLayers.dll\",target-name=\"C:\\WINDOWS\\SYSTEM32\\AcLayers.dll\",host-name=\"C:\\WINDOWS\\SYSTEM32\\AcLayers.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x78881000\",to=\"0x78b06184\"}]\r\n"},"seq":290,"type":"event"}

1: (19288) ->=library-loaded,id="C:\WINDOWS\SYSTEM32\AcLayers.dll",target-name="C:\WINDOWS\SYSTEM32\AcLayers.dll",host-name="C:\WINDOWS\SYSTEM32\AcLayers.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x78881000",to="0x78b06184"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19293) ->=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=\"0x77951000\",to=\"0x77a0f74c\"}]\r\n"},"seq":292,"type":"event"}

1: (19293) ->=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="0x77951000",to="0x77a0f74c"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19294) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\user32.dll\",target-name=\"C:\\WINDOWS\\System32\\user32.dll\",host-name=\"C:\\WINDOWS\\System32\\user32.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x777b1000\",to=\"0x77948038\"}]\r\n"},"seq":294,"type":"event"}

1: (19294) ->=library-loaded,id="C:\WINDOWS\System32\user32.dll",target-name="C:\WINDOWS\System32\user32.dll",host-name="C:\WINDOWS\System32\user32.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x777b1000",to="0x77948038"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19295) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\win32u.dll\",target-name=\"C:\\WINDOWS\\System32\\win32u.dll\",host-name=\"C:\\WINDOWS\\System32\\win32u.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x77af1000\",to=\"0x77b06a18\"}]\r\n"},"seq":296,"type":"event"}

1: (19295) ->=library-loaded,id="C:\WINDOWS\System32\win32u.dll",target-name="C:\WINDOWS\System32\win32u.dll",host-name="C:\WINDOWS\System32\win32u.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x77af1000",to="0x77b06a18"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19296) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\gdi32.dll\",target-name=\"C:\\WINDOWS\\System32\\gdi32.dll\",host-name=\"C:\\WINDOWS\\System32\\gdi32.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x77ac1000\",to=\"0x77ae2464\"}]\r\n"},"seq":298,"type":"event"}

1: (19296) ->=library-loaded,id="C:\WINDOWS\System32\gdi32.dll",target-name="C:\WINDOWS\System32\gdi32.dll",host-name="C:\WINDOWS\System32\gdi32.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x77ac1000",to="0x77ae2464"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19298) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\gdi32full.dll\",target-name=\"C:\\WINDOWS\\System32\\gdi32full.dll\",host-name=\"C:\\WINDOWS\\System32\\gdi32full.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x75f81000\",to=\"0x760e6e6c\"}]\r\n"},"seq":300,"type":"event"}

1: (19298) ->=library-loaded,id="C:\WINDOWS\System32\gdi32full.dll",target-name="C:\WINDOWS\System32\gdi32full.dll",host-name="C:\WINDOWS\System32\gdi32full.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x75f81000",to="0x760e6e6c"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19300) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\msvcp_win.dll\",target-name=\"C:\\WINDOWS\\System32\\msvcp_win.dll\",host-name=\"C:\\WINDOWS\\System32\\msvcp_win.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x77a11000\",to=\"0x77a8fa04\"}]\r\n"},"seq":302,"type":"event"}

1: (19300) ->=library-loaded,id="C:\WINDOWS\System32\msvcp_win.dll",target-name="C:\WINDOWS\System32\msvcp_win.dll",host-name="C:\WINDOWS\System32\msvcp_win.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x77a11000",to="0x77a8fa04"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19301) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\ucrtbase.dll\",target-name=\"C:\\WINDOWS\\System32\\ucrtbase.dll\",host-name=\"C:\\WINDOWS\\System32\\ucrtbase.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x756c1000\",to=\"0x757e17dc\"}]\r\n"},"seq":304,"type":"event"}

1: (19301) ->=library-loaded,id="C:\WINDOWS\System32\ucrtbase.dll",target-name="C:\WINDOWS\System32\ucrtbase.dll",host-name="C:\WINDOWS\System32\ucrtbase.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x756c1000",to="0x757e17dc"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19303) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\shell32.dll\",target-name=\"C:\\WINDOWS\\System32\\shell32.dll\",host-name=\"C:\\WINDOWS\\System32\\shell32.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x76f41000\",to=\"0x7748df2c\"}]\r\n"},"seq":306,"type":"event"}

1: (19303) ->=library-loaded,id="C:\WINDOWS\System32\shell32.dll",target-name="C:\WINDOWS\System32\shell32.dll",host-name="C:\WINDOWS\System32\shell32.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x76f41000",to="0x7748df2c"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19305) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\cfgmgr32.dll\",target-name=\"C:\\WINDOWS\\System32\\cfgmgr32.dll\",host-name=\"C:\\WINDOWS\\System32\\cfgmgr32.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x765f1000\",to=\"0x7662af10\"}]\r\n"},"seq":308,"type":"event"}

1: (19305) ->=library-loaded,id="C:\WINDOWS\System32\cfgmgr32.dll",target-name="C:\WINDOWS\System32\cfgmgr32.dll",host-name="C:\WINDOWS\System32\cfgmgr32.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x765f1000",to="0x7662af10"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19308) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\SHCore.dll\",target-name=\"C:\\WINDOWS\\System32\\SHCore.dll\",host-name=\"C:\\WINDOWS\\System32\\SHCore.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x76301000\",to=\"0x76388304\"}]\r\n"},"seq":310,"type":"event"}

1: (19308) ->=library-loaded,id="C:\WINDOWS\System32\SHCore.dll",target-name="C:\WINDOWS\System32\SHCore.dll",host-name="C:\WINDOWS\System32\SHCore.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x76301000",to="0x76388304"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19309) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\rpcrt4.dll\",target-name=\"C:\\WINDOWS\\System32\\rpcrt4.dll\",host-name=\"C:\\WINDOWS\\System32\\rpcrt4.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x76531000\",to=\"0x765eef98\"}]\r\n"},"seq":312,"type":"event"}

1: (19309) ->=library-loaded,id="C:\WINDOWS\System32\rpcrt4.dll",target-name="C:\WINDOWS\System32\rpcrt4.dll",host-name="C:\WINDOWS\System32\rpcrt4.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x76531000",to="0x765eef98"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19309) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\sspicli.dll\",target-name=\"C:\\WINDOWS\\System32\\sspicli.dll\",host-name=\"C:\\WINDOWS\\System32\\sspicli.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x75191000\",to=\"0x751af110\"}]\r\n"},"seq":314,"type":"event"}

1: (19309) ->=library-loaded,id="C:\WINDOWS\System32\sspicli.dll",target-name="C:\WINDOWS\System32\sspicli.dll",host-name="C:\WINDOWS\System32\sspicli.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x75191000",to="0x751af110"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19311) ->=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=\"0x75181000\",to=\"0x751893b8\"}]\r\n"},"seq":316,"type":"event"}

1: (19311) ->=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="0x75181000",to="0x751893b8"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19313) ->=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=\"0x76de1000\",to=\"0x76e41718\"}]\r\n"},"seq":318,"type":"event"}

1: (19313) ->=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="0x76de1000",to="0x76e41718"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19313) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\sechost.dll\",target-name=\"C:\\WINDOWS\\System32\\sechost.dll\",host-name=\"C:\\WINDOWS\\System32\\sechost.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x76281000\",to=\"0x762f8644\"}]\r\n"},"seq":320,"type":"event"}

1: (19313) ->=library-loaded,id="C:\WINDOWS\System32\sechost.dll",target-name="C:\WINDOWS\System32\sechost.dll",host-name="C:\WINDOWS\System32\sechost.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x76281000",to="0x762f8644"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19316) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\combase.dll\",target-name=\"C:\\WINDOWS\\System32\\combase.dll\",host-name=\"C:\\WINDOWS\\System32\\combase.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x77531000\",to=\"0x777a74d8\"}]\r\n"},"seq":322,"type":"event"}

1: (19316) ->=library-loaded,id="C:\WINDOWS\System32\combase.dll",target-name="C:\WINDOWS\System32\combase.dll",host-name="C:\WINDOWS\System32\combase.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x77531000",to="0x777a74d8"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19322) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\windows.storage.dll\",target-name=\"C:\\WINDOWS\\System32\\windows.storage.dll\",host-name=\"C:\\WINDOWS\\System32\\windows.storage.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x75811000\",to=\"0x75e0b544\"}]\r\n"},"seq":324,"type":"event"}

1: (19322) ->=library-loaded,id="C:\WINDOWS\System32\windows.storage.dll",target-name="C:\WINDOWS\System32\windows.storage.dll",host-name="C:\WINDOWS\System32\windows.storage.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x75811000",to="0x75e0b544"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19324) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\advapi32.dll\",target-name=\"C:\\WINDOWS\\System32\\advapi32.dll\",host-name=\"C:\\WINDOWS\\System32\\advapi32.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x774b1000\",to=\"0x7752db24\"}]\r\n"},"seq":326,"type":"event"}

1: (19324) ->=library-loaded,id="C:\WINDOWS\System32\advapi32.dll",target-name="C:\WINDOWS\System32\advapi32.dll",host-name="C:\WINDOWS\System32\advapi32.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x774b1000",to="0x7752db24"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19326) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\profapi.dll\",target-name=\"C:\\WINDOWS\\System32\\profapi.dll\",host-name=\"C:\\WINDOWS\\System32\\profapi.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x77491000\",to=\"0x774abf30\"}]\r\n"},"seq":328,"type":"event"}

1: (19326) ->=library-loaded,id="C:\WINDOWS\System32\profapi.dll",target-name="C:\WINDOWS\System32\profapi.dll",host-name="C:\WINDOWS\System32\profapi.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x77491000",to="0x774abf30"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19327) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\powrprof.dll\",target-name=\"C:\\WINDOWS\\System32\\powrprof.dll\",host-name=\"C:\\WINDOWS\\System32\\powrprof.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x76221000\",to=\"0x76273b64\"}]\r\n"},"seq":330,"type":"event"}

1: (19327) ->=library-loaded,id="C:\WINDOWS\System32\powrprof.dll",target-name="C:\WINDOWS\System32\powrprof.dll",host-name="C:\WINDOWS\System32\powrprof.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x76221000",to="0x76273b64"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19329) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\shlwapi.dll\",target-name=\"C:\\WINDOWS\\System32\\shlwapi.dll\",host-name=\"C:\\WINDOWS\\System32\\shlwapi.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x75671000\",to=\"0x756b35d0\"}]\r\n"},"seq":332,"type":"event"}

1: (19329) ->=library-loaded,id="C:\WINDOWS\System32\shlwapi.dll",target-name="C:\WINDOWS\System32\shlwapi.dll",host-name="C:\WINDOWS\System32\shlwapi.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x75671000",to="0x756b35d0"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19332) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\kernel.appcore.dll\",target-name=\"C:\\WINDOWS\\System32\\kernel.appcore.dll\",host-name=\"C:\\WINDOWS\\System32\\kernel.appcore.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x76e51000\",to=\"0x76e5e464\"}]\r\n"},"seq":334,"type":"event"}

1: (19332) ->=library-loaded,id="C:\WINDOWS\System32\kernel.appcore.dll",target-name="C:\WINDOWS\System32\kernel.appcore.dll",host-name="C:\WINDOWS\System32\kernel.appcore.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x76e51000",to="0x76e5e464"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19334) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\cryptsp.dll\",target-name=\"C:\\WINDOWS\\System32\\cryptsp.dll\",host-name=\"C:\\WINDOWS\\System32\\cryptsp.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x755c1000\",to=\"0x755d182c\"}]\r\n"},"seq":336,"type":"event"}

1: (19334) ->=library-loaded,id="C:\WINDOWS\System32\cryptsp.dll",target-name="C:\WINDOWS\System32\cryptsp.dll",host-name="C:\WINDOWS\System32\cryptsp.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x755c1000",to="0x755d182c"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19335) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\oleaut32.dll\",target-name=\"C:\\WINDOWS\\System32\\oleaut32.dll\",host-name=\"C:\\WINDOWS\\System32\\oleaut32.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x76391000\",to=\"0x76425110\"}]\r\n"},"seq":338,"type":"event"}

1: (19335) ->=library-loaded,id="C:\WINDOWS\System32\oleaut32.dll",target-name="C:\WINDOWS\System32\oleaut32.dll",host-name="C:\WINDOWS\System32\oleaut32.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x76391000",to="0x76425110"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19336) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\setupapi.dll\",target-name=\"C:\\WINDOWS\\System32\\setupapi.dll\",host-name=\"C:\\WINDOWS\\System32\\setupapi.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x76931000\",to=\"0x76d7a478\"}]\r\n"},"seq":340,"type":"event"}

1: (19336) ->=library-loaded,id="C:\WINDOWS\System32\setupapi.dll",target-name="C:\WINDOWS\System32\setupapi.dll",host-name="C:\WINDOWS\System32\setupapi.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x76931000",to="0x76d7a478"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19338) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\bcrypt.dll\",target-name=\"C:\\WINDOWS\\System32\\bcrypt.dll\",host-name=\"C:\\WINDOWS\\System32\\bcrypt.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x757f1000\",to=\"0x75808b6c\"}]\r\n"},"seq":342,"type":"event"}

1: (19338) ->=library-loaded,id="C:\WINDOWS\System32\bcrypt.dll",target-name="C:\WINDOWS\System32\bcrypt.dll",host-name="C:\WINDOWS\System32\bcrypt.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x757f1000",to="0x75808b6c"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19341) ->=library-loaded,id=\"C:\\WINDOWS\\SYSTEM32\\mpr.dll\",target-name=\"C:\\WINDOWS\\SYSTEM32\\mpr.dll\",host-name=\"C:\\WINDOWS\\SYSTEM32\\mpr.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x71351000\",to=\"0x71367e64\"}]\r\n"},"seq":344,"type":"event"}

1: (19341) ->=library-loaded,id="C:\WINDOWS\SYSTEM32\mpr.dll",target-name="C:\WINDOWS\SYSTEM32\mpr.dll",host-name="C:\WINDOWS\SYSTEM32\mpr.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x71351000",to="0x71367e64"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19342) ->=library-loaded,id=\"C:\\WINDOWS\\SYSTEM32\\sfc.dll\",target-name=\"C:\\WINDOWS\\SYSTEM32\\sfc.dll\",host-name=\"C:\\WINDOWS\\SYSTEM32\\sfc.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x66681000\",to=\"0x666823f0\"}]\r\n"},"seq":346,"type":"event"}

1: (19342) ->=library-loaded,id="C:\WINDOWS\SYSTEM32\sfc.dll",target-name="C:\WINDOWS\SYSTEM32\sfc.dll",host-name="C:\WINDOWS\SYSTEM32\sfc.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x66681000",to="0x666823f0"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19343) ->=library-loaded,id=\"C:\\WINDOWS\\SYSTEM32\\winspool.drv\",target-name=\"C:\\WINDOWS\\SYSTEM32\\winspool.drv\",host-name=\"C:\\WINDOWS\\SYSTEM32\\winspool.drv\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x66231000\",to=\"0x6629a5f0\"}]\r\n"},"seq":348,"type":"event"}

1: (19343) ->=library-loaded,id="C:\WINDOWS\SYSTEM32\winspool.drv",target-name="C:\WINDOWS\SYSTEM32\winspool.drv",host-name="C:\WINDOWS\SYSTEM32\winspool.drv",symbols-loaded="0",thread-group="i1",ranges=[{from="0x66231000",to="0x6629a5f0"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19345) ->=library-loaded,id=\"C:\\WINDOWS\\SYSTEM32\\propsys.dll\",target-name=\"C:\\WINDOWS\\SYSTEM32\\propsys.dll\",host-name=\"C:\\WINDOWS\\SYSTEM32\\propsys.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x74da1000\",to=\"0x74f1d5d4\"}]\r\n"},"seq":350,"type":"event"}

1: (19345) ->=library-loaded,id="C:\WINDOWS\SYSTEM32\propsys.dll",target-name="C:\WINDOWS\SYSTEM32\propsys.dll",host-name="C:\WINDOWS\SYSTEM32\propsys.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x74da1000",to="0x74f1d5d4"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19346) ->=library-loaded,id=\"C:\\WINDOWS\\SYSTEM32\\IPHLPAPI.DLL\",target-name=\"C:\\WINDOWS\\SYSTEM32\\IPHLPAPI.DLL\",host-name=\"C:\\WINDOWS\\SYSTEM32\\IPHLPAPI.DLL\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x74c81000\",to=\"0x74cb255c\"}]\r\n"},"seq":352,"type":"event"}

1: (19346) ->=library-loaded,id="C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL",target-name="C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL",host-name="C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL",symbols-loaded="0",thread-group="i1",ranges=[{from="0x74c81000",to="0x74cb255c"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19347) ->=library-loaded,id=\"C:\\WINDOWS\\SYSTEM32\\sfc_os.dll\",target-name=\"C:\\WINDOWS\\SYSTEM32\\sfc_os.dll\",host-name=\"C:\\WINDOWS\\SYSTEM32\\sfc_os.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x50071000\",to=\"0x5007e338\"}]\r\n"},"seq":354,"type":"event"}

1: (19347) ->=library-loaded,id="C:\WINDOWS\SYSTEM32\sfc_os.dll",target-name="C:\WINDOWS\SYSTEM32\sfc_os.dll",host-name="C:\WINDOWS\SYSTEM32\sfc_os.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x50071000",to="0x5007e338"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19349) ->=library-loaded,id=\"C:\\WINDOWS\\System32\\imm32.dll\",target-name=\"C:\\WINDOWS\\System32\\imm32.dll\",host-name=\"C:\\WINDOWS\\System32\\imm32.dll\",symbols-loaded=\"0\",thread-group=\"i1\",ranges=[{from=\"0x760f1000\",to=\"0x7611438c\"}]\r\n"},"seq":356,"type":"event"}

1: (19349) ->=library-loaded,id="C:\WINDOWS\System32\imm32.dll",target-name="C:\WINDOWS\System32\imm32.dll",host-name="C:\WINDOWS\System32\imm32.dll",symbols-loaded="0",thread-group="i1",ranges=[{from="0x760f1000",to="0x7611438c"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19724) ->1012^running\r\n"},"seq":358,"type":"event"}

1: (19724) ->1012^running

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19725) 1012: elapsed time 16210\r\n"},"seq":360,"type":"event"}

1: (19725) 1012: elapsed time 16210

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19728) ->*running,thread-id=\"all\"\r\n"},"seq":362,"type":"event"}

1: (19728) ->*running,thread-id="all"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19746) ->(gdb)\r\n"},"seq":364,"type":"event"}

1: (19746) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19749) ->=breakpoint-modified,bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x00402660\",func=\"main()\",file=\"c:\\Users\\tomja\\OneDrive\\Documents\\CompetitiveProgramming\\twostones.cpp\",fullname=\"c:\\Users\\tomja\\OneDrive\\Documents\\CompetitiveProgramming\\twostones.cpp\",line=\"8\",thread-groups=[\"i1\"],times=\"1\",original-location=\"main\"}\r\n"},"seq":366,"type":"event"}

1: (19749) ->=breakpoint-modified,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00402660",func="main()",file="c:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\twostones.cpp",fullname="c:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\twostones.cpp",line="8",thread-groups=["i1"],times="1",original-location="main"}

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19752) ->~\"\n\"\r\n"},"seq":368,"type":"event"}

1: (19752) ->~"\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19756) ->~\"Breakpoint 1, main () at c:\\Users\\tomja\\OneDrive\\Documents\\CompetitiveProgramming\\twostones.cpp:8\n\"\r\n"},"seq":370,"type":"event"}

1: (19756) ->~"Breakpoint 1, main () at c:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\twostones.cpp:8\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19759) ->~\"8\tint main() {\n\"\r\n"},"seq":372,"type":"event"}

1: (19759) ->~"8\tint main() {\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19761) ->*stopped,reason=\"breakpoint-hit\",disp=\"keep\",bkptno=\"1\",frame={addr=\"0x00402660\",func=\"main\",args=[],file=\"c:\\Users\\tomja\\OneDrive\\Documents\\CompetitiveProgramming\\twostones.cpp\",fullname=\"c:\\Users\\tomja\\OneDrive\\Documents\\CompetitiveProgramming\\twostones.cpp\",line=\"8\"},thread-id=\"1\",stopped-threads=\"all\"\r\n"},"seq":374,"type":"event"}

1: (19761) ->*stopped,reason="breakpoint-hit",disp="keep",bkptno="1",frame={addr="0x00402660",func="main",args=[],file="c:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\twostones.cpp",fullname="c:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\twostones.cpp",line="8"},thread-id="1",stopped-threads="all"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19762) ->(gdb)\r\n"},"seq":376,"type":"event"}

1: (19762) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19763) ->&\"\n\"\r\n"},"seq":378,"type":"event"}

1: (19763) ->&"\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19764) ->^done\r\n"},"seq":380,"type":"event"}

1: (19764) ->^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19765) ->(gdb)\r\n"},"seq":382,"type":"event"}

1: (19765) ->(gdb)

--> E (output): {"event":"output","body":{"category":"stdout","output":"Breakpoint 1, main () at c:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\twostones.cpp:8\n"},"seq":385,"type":"event"}

Breakpoint 1, main () at c:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\twostones.cpp:8

8 int main() {

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19765) ->1013^done,threads=[{id=\"1\",target-id=\"Thread 13944.0x35c8\",frame={level=\"0\",addr=\"0x00402660\",func=\"main\",args=[],file=\"c:\\Users\\tomja\\OneDrive\\Documents\\CompetitiveProgramming\\twostones.cpp\",fullname=\"c:\\Users\\tomja\\OneDrive\\Documents\\CompetitiveProgramming\\twostones.cpp\",line=\"8\"},state=\"stopped\"}]\r\n"},"seq":387,"type":"event"}

1: (19765) ->1013^done,threads=[{id="1",target-id="Thread 13944.0x35c8",frame={level="0",addr="0x00402660",func="main",args=[],file="c:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\twostones.cpp",fullname="c:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\twostones.cpp",line="8"},state="stopped"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19766) ->(gdb)\r\n"},"seq":390,"type":"event"}

1: (19766) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19767) ->&\"\n\"\r\n"},"seq":392,"type":"event"}

1: (19767) ->&"\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19768) ->^done\r\n"},"seq":394,"type":"event"}

1: (19768) ->^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19770) ->(gdb)\r\n"},"seq":396,"type":"event"}

1: (19770) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19796) <-1014-thread-info\r\n"},"seq":398,"type":"event"}

1: (19796) <-1014-thread-info

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19802) 1013: elapsed time 691\r\n"},"seq":400,"type":"event"}

1: (19802) 1013: elapsed time 691

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19804) ->1014^done,threads=[{id=\"1\",target-id=\"Thread 13944.0x35c8\",frame={level=\"0\",addr=\"0x00402660\",func=\"main\",args=[],file=\"c:\\Users\\tomja\\OneDrive\\Documents\\CompetitiveProgramming\\twostones.cpp\",fullname=\"c:\\Users\\tomja\\OneDrive\\Documents\\CompetitiveProgramming\\twostones.cpp\",line=\"8\"},state=\"stopped\"}],current-thread-id=\"1\"\r\n"},"seq":402,"type":"event"}

1: (19804) ->1014^done,threads=[{id="1",target-id="Thread 13944.0x35c8",frame={level="0",addr="0x00402660",func="main",args=[],file="c:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\twostones.cpp",fullname="c:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\twostones.cpp",line="8"},state="stopped"}],current-thread-id="1"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19806) ->(gdb)\r\n"},"seq":404,"type":"event"}

1: (19806) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19807) Send Event AD7ProcessInfoUpdatedEvent\r\n"},"seq":406,"type":"event"}

1: (19807) Send Event AD7ProcessInfoUpdatedEvent

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19807) ->&\"\n\"\r\n"},"seq":408,"type":"event"}

1: (19807) ->&"\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19808) Send Event AD7ThreadCreateEvent\r\n"},"seq":410,"type":"event"}

1: (19808) Send Event AD7ThreadCreateEvent

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19808) ->^done\r\n"},"seq":412,"type":"event"}

1: (19808) ->^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19810) ->(gdb)\r\n"},"seq":414,"type":"event"}

1: (19810) ->(gdb)

--> E (thread): {"event":"thread","body":{"reason":"started","threadId":1},"seq":415,"type":"event"}

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19815) 1014: elapsed time 19\r\n"},"seq":418,"type":"event"}

1: (19815) 1014: elapsed time 19

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19840) <-1015-stack-list-frames 0 1000\r\n"},"seq":420,"type":"event"}

1: (19840) <-1015-stack-list-frames 0 1000

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19850) ->1015^done,stack=[frame={level=\"0\",addr=\"0x00402660\",func=\"main\",file=\"c:\\Users\\tomja\\OneDrive\\Documents\\CompetitiveProgramming\\twostones.cpp\",fullname=\"c:\\Users\\tomja\\OneDrive\\Documents\\CompetitiveProgramming\\twostones.cpp\",line=\"8\"}]\r\n"},"seq":422,"type":"event"}

1: (19850) ->1015^done,stack=[frame={level="0",addr="0x00402660",func="main",file="c:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\twostones.cpp",fullname="c:\Users\tomja\OneDrive\Documents\CompetitiveProgramming\twostones.cpp",line="8"}]

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19851) 1015: elapsed time 10\r\n"},"seq":424,"type":"event"}

1: (19851) 1015: elapsed time 10

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19851) ->(gdb)\r\n"},"seq":426,"type":"event"}

1: (19851) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19853) ->&\"\n\"\r\n"},"seq":428,"type":"event"}

1: (19853) ->&"\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19854) ->^done\r\n"},"seq":430,"type":"event"}

1: (19854) ->^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19856) ->(gdb)\r\n"},"seq":432,"type":"event"}

1: (19856) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19870) <-1016-break-delete 1\r\n"},"seq":434,"type":"event"}

1: (19870) <-1016-break-delete 1

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19872) ->1016^done\r\n"},"seq":436,"type":"event"}

1: (19872) ->1016^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19874) ->(gdb)\r\n"},"seq":438,"type":"event"}

1: (19874) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19876) ->&\"\n\"\r\n"},"seq":440,"type":"event"}

1: (19876) ->&"\n"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19877) ->^done\r\n"},"seq":442,"type":"event"}

1: (19877) ->^done

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19879) ->(gdb)\r\n"},"seq":444,"type":"event"}

1: (19879) ->(gdb)

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19874) 1016: elapsed time 4\r\n"},"seq":446,"type":"event"}

1: (19874) 1016: elapsed time 4

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19881) Send Event AD7EntryPointEvent\r\n"},"seq":448,"type":"event"}

1: (19881) Send Event AD7EntryPointEvent

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19889) <--exec-continue\r\n"},"seq":450,"type":"event"}

1: (19889) <--exec-continue

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19898) ->^running\r\n"},"seq":452,"type":"event"}

1: (19898) ->^running

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19899) ->*running,thread-id=\"all\"\r\n"},"seq":454,"type":"event"}

1: (19899) ->*running,thread-id="all"

--> E (output): {"event":"output","body":{"category":"console","output":"1: (19899) ->(gdb)\r\n"},"seq":456,"type":"event"}

1: (19899) ->(gdb)

<-- C (threads-8): {"command":"threads","type":"request","seq":8}

--> R (threads-8): {"request_seq":8,"success":true,"command":"threads","body":{"threads":[{"id":1,"name":"Thread #1"}]},"seq":459,"type":"response"}


tasks.json

{
    // See https://go.microsoft.com/fwlink/?LinkId=733558 
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "type": "shell",
            "label": "kattis build active file",
            "command": "C:\\Program Files (x86)\\mingw-w64\\i686-8.1.0-posix-dwarf-rt_v6-rev0\\mingw32\\bin\\g++.exe",
            "args": [
                "-g",
                "-O2",
                "-static",
                "-std=gnu++17",
                "${file}",
                "-o",
                "${workspaceFolder}\\build\\${fileBasenameNoExtension}.exe"
            ],
            "options": {
                "cwd": "C:\\Program Files (x86)\\mingw-w64\\i686-8.1.0-posix-dwarf-rt_v6-rev0\\mingw32\\bin"
            },
            "problemMatcher": [
                "$gcc"
            ],
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "presentation": {
                "echo": false,
                "reveal": "silent",
                "focus": false,
                "panel": "dedicated",
                "showReuseMessage": false,
                "clear": true
            },
        }
    ]
}

launch.json

{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "(gdb) Launch",
            "type": "cppdbg",
            "request": "launch",
            "program": "${workspaceFolder}\\build\\${fileBasenameNoExtension}.exe",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "environment": [],
            "externalConsole": false,
            "MIMode": "gdb",
            "miDebuggerPath": "C:\\Program Files (x86)\\mingw-w64\\i686-8.1.0-posix-dwarf-rt_v6-rev0\\mingw32\\bin\\gdb.exe",
            "setupCommands": [
                {
                    "description": "Enable pretty-printing for gdb",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                }
            ],
            "logging": { 
                "engineLogging": true, 
                "trace": true, 
                "traceResponse": true 
            }/**/
        }
    ]
}
github-actions[bot] commented 3 years ago

This issue has been closed automatically because it has not had recent activity.