Skip to content

Instantly share code, notes, and snippets.

@dcharkes
Created June 17, 2019 08:29
Show Gist options
  • Save dcharkes/c8791385ca1cd56649359a998ab00f24 to your computer and use it in GitHub Desktop.
Save dcharkes/c8791385ca1cd56649359a998ab00f24 to your computer and use it in GitHub Desktop.
--> E (output): {"event":"output","body":{"category":"console","output":"1: (102) LaunchOptions<LocalLaunchOptions xmlns='http://schemas.microsoft.com/vstudio/MDDDebuggerOptions/2014'\n"},"seq":2,"type":"event"}
1: (102) LaunchOptions<LocalLaunchOptions xmlns='http://schemas.microsoft.com/vstudio/MDDDebuggerOptions/2014'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (108) LaunchOptions ExePath='/usr/local/google/home/dacoharkes/dart-sdk/sdk/out/DebugAndroidARM64/dart'\n"},"seq":4,"type":"event"}
1: (108) LaunchOptions ExePath='/usr/local/google/home/dacoharkes/dart-sdk/sdk/out/DebugAndroidARM64/dart'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (109) LaunchOptions WorkingDirectory='/usr/local/google/home/dacoharkes/dart-sdk/sdk/out/DebugAndroidARM64'\n"},"seq":6,"type":"event"}
1: (109) LaunchOptions WorkingDirectory='/usr/local/google/home/dacoharkes/dart-sdk/sdk/out/DebugAndroidARM64'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (109) LaunchOptions ExeArguments=''\n"},"seq":8,"type":"event"}
1: (109) LaunchOptions ExeArguments=''
--> E (output): {"event":"output","body":{"category":"console","output":"1: (109) LaunchOptions MIMode='gdb'\n"},"seq":10,"type":"event"}
1: (109) LaunchOptions MIMode='gdb'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (109) LaunchOptions MIDebuggerPath='/usr/local/google/home/dacoharkes/dart-sdk/sdk/../../flt/engine/src/third_party/android_tools/ndk/prebuilt/linux-x86_64/bin/gdb'\n"},"seq":12,"type":"event"}
1: (109) LaunchOptions MIDebuggerPath='/usr/local/google/home/dacoharkes/dart-sdk/sdk/../../flt/engine/src/third_party/android_tools/ndk/prebuilt/linux-x86_64/bin/gdb'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (109) LaunchOptions WaitDynamicLibLoad='false'\n"},"seq":14,"type":"event"}
1: (109) LaunchOptions WaitDynamicLibLoad='false'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (110) LaunchOptions MIDebuggerServerAddress=':5039'\n"},"seq":16,"type":"event"}
1: (110) LaunchOptions MIDebuggerServerAddress=':5039'
--> E (output): {"event":"output","body":{"category":"console","output":"1: (110) LaunchOptions>\n"},"seq":18,"type":"event"}
1: (110) LaunchOptions>
--> E (output): {"event":"output","body":{"category":"console","output":"1: (110) LaunchOptions <SetupCommands>\n"},"seq":20,"type":"event"}
1: (110) LaunchOptions <SetupCommands>
--> E (output): {"event":"output","body":{"category":"console","output":"1: (110) LaunchOptions <Command IgnoreFailures='false' Description='Setup to resolve symbols'>set sysroot .</Command>\n"},"seq":22,"type":"event"}
1: (110) LaunchOptions <Command IgnoreFailures='false' Description='Setup to resolve symbols'>set sysroot .</Command>
--> E (output): {"event":"output","body":{"category":"console","output":"1: (110) LaunchOptions </SetupCommands>\n"},"seq":24,"type":"event"}
1: (110) LaunchOptions </SetupCommands>
--> E (output): {"event":"output","body":{"category":"console","output":"1: (110) LaunchOptions</LocalLaunchOptions>\n"},"seq":26,"type":"event"}
1: (110) LaunchOptions</LocalLaunchOptions>
--> E (output): {"event":"output","body":{"category":"console","output":"1: (197) Starting: \"/usr/local/google/home/dacoharkes/dart-sdk/sdk/../../flt/engine/src/third_party/android_tools/ndk/prebuilt/linux-x86_64/bin/gdb\" --interpreter=mi -x \"/usr/local/google/home/dacoharkes/dart-sdk/sdk/out/DebugAndroidARM64/.gdbinit\"\n"},"seq":28,"type":"event"}
1: (197) Starting: "/usr/local/google/home/dacoharkes/dart-sdk/sdk/../../flt/engine/src/third_party/android_tools/ndk/prebuilt/linux-x86_64/bin/gdb" --interpreter=mi -x "/usr/local/google/home/dacoharkes/dart-sdk/sdk/out/DebugAndroidARM64/.gdbinit"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (216) DebuggerPid=178826\n"},"seq":30,"type":"event"}
1: (216) DebuggerPid=178826
--> E (output): {"event":"output","body":{"category":"console","output":"1: (305) ->=thread-group-added,id=\"i1\"\n"},"seq":32,"type":"event"}
1: (305) ->=thread-group-added,id="i1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (308) ->~\"GNU gdb (GDB) 7.11\\n\"\n"},"seq":34,"type":"event"}
1: (308) ->~"GNU gdb (GDB) 7.11\n"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (308) ->~\"Copyright (C) 2016 Free Software Foundation, Inc.\\n\"\n"},"seq":36,"type":"event"}
1: (308) ->~"Copyright (C) 2016 Free Software Foundation, Inc.\n"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (310) ->~\"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\"\n"},"seq":38,"type":"event"}
1: (310) ->~"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: (311) ->~\"This GDB was configured as \\\"x86_64-linux-gnu\\\".\\nType \\\"show configuration\\\" for configuration details.\"\n"},"seq":40,"type":"event"}
1: (311) ->~"This GDB was configured as \"x86_64-linux-gnu\".\nType \"show configuration\" for configuration details."
--> E (output): {"event":"output","body":{"category":"console","output":"1: (311) ->~\"\\nFor bug reporting instructions, please see:\\n\"\n"},"seq":42,"type":"event"}
1: (311) ->~"\nFor bug reporting instructions, please see:\n"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (312) ->~\"<http://www.gnu.org/software/gdb/bugs/>.\\n\"\n"},"seq":44,"type":"event"}
1: (312) ->~"<http://www.gnu.org/software/gdb/bugs/>.\n"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (312) ->~\"Find the GDB manual and other documentation resources online at:\\n<http://www.gnu.org/software/gdb/documentation/>.\\n\"\n"},"seq":46,"type":"event"}
1: (312) ->~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (313) ->~\"For help, type \\\"help\\\".\\n\"\n"},"seq":48,"type":"event"}
1: (313) ->~"For help, type \"help\".\n"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (313) ->~\"Type \\\"apropos word\\\" to search for commands related to \\\"word\\\".\\n\"\n"},"seq":50,"type":"event"}
1: (313) ->~"Type \"apropos word\" to search for commands related to \"word\".\n"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (314) ->=cmd-param-changed,param=\"disassembly-flavor\",value=\"intel\"\n"},"seq":52,"type":"event"}
1: (314) ->=cmd-param-changed,param="disassembly-flavor",value="intel"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (314) ->=cmd-param-changed,param=\"print pretty\",value=\"on\"\n"},"seq":54,"type":"event"}
1: (314) ->=cmd-param-changed,param="print pretty",value="on"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (315) ->=cmd-param-changed,param=\"print object\",value=\"on\"\n"},"seq":56,"type":"event"}
1: (315) ->=cmd-param-changed,param="print object",value="on"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (315) ->=cmd-param-changed,param=\"print static-members\",value=\"off\"\n"},"seq":58,"type":"event"}
1: (315) ->=cmd-param-changed,param="print static-members",value="off"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (315) ->=cmd-param-changed,param=\"print thread-events\",value=\"off\"\n"},"seq":60,"type":"event"}
1: (315) ->=cmd-param-changed,param="print thread-events",value="off"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (316) ->=cmd-param-changed,param=\"history save\",value=\"on\"\n"},"seq":62,"type":"event"}
1: (316) ->=cmd-param-changed,param="history save",value="on"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (316) ->=cmd-param-changed,param=\"pagination\",value=\"off\"\n"},"seq":64,"type":"event"}
1: (316) ->=cmd-param-changed,param="pagination",value="off"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (317) ->=cmd-param-changed,param=\"directories\",value=\"/usr/local/google/home/dacoharkes/dart-sdk/sdk:$cdir:$cwd\"\n"},"seq":66,"type":"event"}
1: (317) ->=cmd-param-changed,param="directories",value="/usr/local/google/home/dacoharkes/dart-sdk/sdk:$cdir:$cwd"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (317) ->=cmd-param-changed,param=\"auto-load safe-path\",value=\"/\"\n"},"seq":68,"type":"event"}
1: (317) ->=cmd-param-changed,param="auto-load safe-path",value="/"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (318) ->=cmd-param-changed,param=\"sysroot\",value=\".\"\n"},"seq":70,"type":"event"}
1: (318) ->=cmd-param-changed,param="sysroot",value="."
--> E (output): {"event":"output","body":{"category":"console","output":"1: (457) ->=tsv-created,name=\"trace_timestamp\",initial=\"0\"\\n\n"},"seq":72,"type":"event"}
1: (457) ->=tsv-created,name="trace_timestamp",initial="0"\n
--> E (output): {"event":"output","body":{"category":"console","output":"1: (475) ->=thread-group-started,id=\"i1\",pid=\"15929\"\n"},"seq":74,"type":"event"}
1: (475) ->=thread-group-started,id="i1",pid="15929"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (485) ->=thread-group-exited,id=\"i1\"\n"},"seq":76,"type":"event"}
1: (485) ->=thread-group-exited,id="i1"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (486) ->&\"/usr/local/google/home/dacoharkes/dart-sdk/sdk/out/DebugAndroidARM64/.gdbinit:2: Error in sourced command file:\\n\"\n"},"seq":78,"type":"event"}
1: (486) ->&"/usr/local/google/home/dacoharkes/dart-sdk/sdk/out/DebugAndroidARM64/.gdbinit:2: Error in sourced command file:\n"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (486) ->&\"/data/local/tmp/testing/dart: No such file or directory.\\n\"\n"},"seq":80,"type":"event"}
1: (486) ->&"/data/local/tmp/testing/dart: No such file or directory.\n"
--> E (output): {"event":"output","body":{"category":"console","output":"1: (486) ->(gdb)\n"},"seq":82,"type":"event"}
1: (486) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (496) <-1001-gdb-set target-async on\n"},"seq":84,"type":"event"}
1: (496) <-1001-gdb-set target-async on
--> E (output): {"event":"output","body":{"category":"console","output":"1: (499) ->1001^done\n"},"seq":86,"type":"event"}
1: (499) ->1001^done
--> E (output): {"event":"output","body":{"category":"console","output":"1: (500) ->(gdb)\n"},"seq":88,"type":"event"}
1: (500) ->(gdb)
--> E (output): {"event":"output","body":{"category":"console","output":"1: (502) 1001: elapsed time 7\n"},"seq":90,"type":"event"}
1: (502) 1001: elapsed time 7
--> E (output): {"event":"output","body":{"category":"console","output":"1: (519) <--gdb-exit\n"},"seq":92,"type":"event"}
1: (519) <--gdb-exit
--> E (output): {"event":"output","body":{"category":"console","output":"1: (519) ->^exit\n"},"seq":94,"type":"event"}
1: (519) ->^exit
--> E (output): {"event":"output","body":{"category":"console","output":"1: (521) <-logout\n"},"seq":96,"type":"event"}
1: (521) <-logout
--> E (output): {"event":"output","body":{"category":"console","output":"1: (522) Send Event AD7MessageEvent\n"},"seq":98,"type":"event"}
1: (522) Send Event AD7MessageEvent
--> E (output): {"event":"output","body":{"category":"console","output":"1: (525) Send Event AD7ProgramDestroyEvent\n"},"seq":100,"type":"event"}
1: (525) Send Event AD7ProgramDestroyEvent
--> E (output): {"event":"output","body":{"category":"console","output":"The program '/usr/local/google/home/dacoharkes/dart-sdk/sdk/out/DebugAndroidARM64/dart' has exited with code 0 (0x00000000).\r\n\n"},"seq":102,"type":"event"}
The program '/usr/local/google/home/dacoharkes/dart-sdk/sdk/out/DebugAndroidARM64/dart' has exited with code 0 (0x00000000).
--> E (output): {"event":"output","body":{"category":"telemetry","output":"VS/Diagnostics/Debugger/DebugCompleted","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.DebugCompleted.BreakCounter":0}},"seq":104,"type":"event"}
--> 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.ErrorCode":1005,"VS.Diagnostics.Debugger.Launch.IsError":true}},"seq":105,"type":"event"}
--> R (launch-2): {"request_seq":2,"success":false,"command":"launch","message":"Unable to start debugging. The target process has exited.","body":{"error":{"id":1005,"format":"Unable to start debugging. The target process has exited."}},"seq":108,"type":"response"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment