{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/MIEngine/issues/714","repository_url":"https://api.github.com/repos/Microsoft/MIEngine","labels_url":"https://api.github.com/repos/Microsoft/MIEngine/issues/714/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/MIEngine/issues/714/comments","events_url":"https://api.github.com/repos/Microsoft/MIEngine/issues/714/events","html_url":"https://github.com/Microsoft/MIEngine/issues/714","id":318271039,"node_id":"MDU6SXNzdWUzMTgyNzEwMzk=","number":714,"title":"Failed to debug qemu. ","user":{"login":"summershrimp","id":10265470,"node_id":"MDQ6VXNlcjEwMjY1NDcw","avatar_url":"https://avatars3.githubusercontent.com/u/10265470?v=4","gravatar_id":"","url":"https://api.github.com/users/summershrimp","html_url":"https://github.com/summershrimp","followers_url":"https://api.github.com/users/summershrimp/followers","following_url":"https://api.github.com/users/summershrimp/following{/other_user}","gists_url":"https://api.github.com/users/summershrimp/gists{/gist_id}","starred_url":"https://api.github.com/users/summershrimp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/summershrimp/subscriptions","organizations_url":"https://api.github.com/users/summershrimp/orgs","repos_url":"https://api.github.com/users/summershrimp/repos","events_url":"https://api.github.com/users/summershrimp/events{/privacy}","received_events_url":"https://api.github.com/users/summershrimp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-04-27T04:05:20Z","updated_at":"2018-08-20T08:13:20Z","closed_at":"2018-08-20T08:13:20Z","author_association":"NONE","body":"After I update my VS from a very early version of 2017 to 2017.15.6.6, it cannot debug qemu anymore.\r\nThe same issus happend in vscode: https://github.com/Microsoft/vscode-cpptools/issues/1801\r\nI can't find the whole gdb interacting log from vs but from vscode:\r\n```\r\n1: (237) LaunchOptions<PipeLaunchOptions xmlns='http://schemas.microsoft.com/vstudio/MDDDebuggerOptions/2014'\r\n1: (250) LaunchOptions  ExePath='/home/xm1994/Projects/s2e-build/qemu-release/x86_64-s2e-softmmu/qemu-system-x86_64'\r\n1: (250) LaunchOptions  WorkingDirectory='/'\r\n1: (250) LaunchOptions  ExeArguments=''\r\n1: (250) LaunchOptions MIMode='gdb'\r\n1: (250) LaunchOptions  PipePath='C:\\Program Files\\Git\\usr\\bin\\ssh.exe'\r\n1: (250) LaunchOptions  PipeArguments='xm1994@10.175.249.55 -i c:\\Users\\z00443224\\.ssh\\id_rsa \"gdb --interpreter=mi\"'\r\n1: (250) LaunchOptions  PipeCwd='Z:\\Projects\\s2e'\r\n1: (250) LaunchOptions>\r\n1: (250) LaunchOptions    <SetupCommands>\r\n1: (250) LaunchOptions        <Command IgnoreFailures='true' Description='Enable pretty-printing for gdb'>-enable-pretty-printing</Command>\r\n1: (251) LaunchOptions    </SetupCommands>\r\n1: (251) LaunchOptions</PipeLaunchOptions>\r\n1: (305) Starting: \"C:\\Program Files\\Git\\usr\\bin\\ssh.exe\" xm1994@10.175.249.55 -i c:\\Users\\z00443224\\.ssh\\id_rsa \"gdb --interpreter=mi\"\r\n1: (757) ->=thread-group-added,id=\"i1\"\r\n1: (758) ->~\"GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.3) 7.7.1\\n\"\r\n1: (758) ->~\"Copyright (C) 2014 Free Software Foundation, Inc.\\n\"\r\n1: (758) ->~\"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\n1: (758) ->~\"This GDB was configured as \\\"x86_64-linux-gnu\\\".\\nType \\\"show configuration\\\" for configuration details.\"\r\n1: (758) ->~\"\\nFor bug reporting instructions, please see:\\n\"\r\n1: (758) ->~\"<http://www.gnu.org/software/gdb/bugs/>.\\n\"\r\n1: (758) ->~\"Find the GDB manual and other documentation resources online at:\\n<http://www.gnu.org/software/gdb/documentation/>.\\n\"\r\n1: (802) <-1006-environment-cd /\r\n1: (808) ->1006^done\r\n1: (808) ->(gdb)\r\n1: (808) 1006: elapsed time 5\r\n1: (808) <-1007-file-exec-and-symbols /home/xm1994/Projects/qemu-release/x86_64-s2e-softmmu/qemu-system-x86_64\r\n1: (1533) ->1007^done\r\n1: (1533) ->(gdb)\r\n1: (1533) 1007: elapsed time 724\r\n1: (1537) <-1008-interpreter-exec console \"show architecture\"\r\n1: (1542) ->~\"The target architecture is set automatically (currently i386:x86-64)\\n\"\r\n1: (1542) ->1008^done\r\n1: (1542) ->(gdb)\r\n1: (1542) 1008: elapsed time 5\r\n1: (1543) <-1009-break-insert main\r\n1: (1550) ->1009^done,bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"<MULTIPLE>\",times=\"0\",original-location=\"main\"},{number=\"1.1\",enabled=\"y\",addr=\"0x0000000000456405\",func=\"tcg_llvm_cleanup\",file=\"/home/xm1994/Projects/qemu/vl.c\",fullname=\"/home/xm1994/Projects/qemu/vl.c\",line=\"614\",thread-groups=[\"i1\"]},{number=\"1.2\",enabled=\"y\",addr=\"0x000000000045642a\",func=\"main\",file=\"/home/xm1994/Projects/qemu/vl.c\",fullname=\"/home/xm1994/Projects/qemu/vl.c\",line=\"3983\",thread-groups=[\"i1\"]}\r\n1: (1550) ->(gdb)\r\n1: (1556) 1009: elapsed time 12\r\n1: (1576) <--gdb-exit\r\n1: (1579) <-logout\r\n```\r\n\r\nIt seems that MIEngine cannot handle break-insert correctly.\r\nThe error msgbox says: `Unable to start debuggin. 已添加了具有相同键的项。(I think for English it is 'An item with the same key has already been added')`\r\n"}}
{"actor":{"display_login":"summershrimp"}}