{"action":"created","issue":{"url":"https://api.github.com/repos/Marus/cortex-debug/issues/105","repository_url":"https://api.github.com/repos/Marus/cortex-debug","labels_url":"https://api.github.com/repos/Marus/cortex-debug/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/Marus/cortex-debug/issues/105/comments","events_url":"https://api.github.com/repos/Marus/cortex-debug/issues/105/events","html_url":"https://github.com/Marus/cortex-debug/issues/105","id":377915947,"node_id":"MDU6SXNzdWUzNzc5MTU5NDc=","number":105,"title":"Target hangs and becomes unresponsive when debugging under cortex-debug, but works fine with JLinkGDBServer+arm-none-eabi-gdb","user":{"login":"bigbrett","id":7547222,"node_id":"MDQ6VXNlcjc1NDcyMjI=","avatar_url":"https://avatars3.githubusercontent.com/u/7547222?v=4","gravatar_id":"","url":"https://api.github.com/users/bigbrett","html_url":"https://github.com/bigbrett","followers_url":"https://api.github.com/users/bigbrett/followers","following_url":"https://api.github.com/users/bigbrett/following{/other_user}","gists_url":"https://api.github.com/users/bigbrett/gists{/gist_id}","starred_url":"https://api.github.com/users/bigbrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigbrett/subscriptions","organizations_url":"https://api.github.com/users/bigbrett/orgs","repos_url":"https://api.github.com/users/bigbrett/repos","events_url":"https://api.github.com/users/bigbrett/events{/privacy}","received_events_url":"https://api.github.com/users/bigbrett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-11-06T16:03:51Z","updated_at":"2018-11-21T19:01:39Z","closed_at":null,"author_association":"NONE","body":"Title says it all. I have tons of reliability issues with the VSCode extension, most notably manifested in the target \"hanging\" - i.e. unresponsive to pause/step/monitor commands issued by the GUI. I am usually able to debug the target for a bit, but once I start using the pause/step/continue commands, the target more often than not hangs. **When I debug the exact same binary using the JLinkGDBServer and arm-none-eabi-gdb everything works fine.**\r\n\r\nI can send you a tarball or zip file of my project archive on request. \r\n\r\nSystem debug info below: \r\n\r\n## launch.json\r\n```\r\n{\r\n    \"version\": \"0.2.0\",\r\n    \"configurations\": [\r\n        {\r\n            \"name\": \"Cortex Debug\",\r\n            \"cwd\": \"${workspaceRoot}\",\r\n            \"executable\": \"./build/Debug/6DOFLC.elf\",\r\n            \"request\": \"launch\",\r\n            \"type\": \"cortex-debug\",\r\n            \"servertype\": \"jlink\",\r\n            \"device\": \"LPC54628J512\",\r\n            \"interface\": \"swd\",\r\n        }\r\n    ]\r\n}\r\n```\r\n\r\n## Toolchain info \r\n\r\n- **Target:** NXP LPC54628J512 (On the OM13098/LPCXpresso54628 dev board)\r\n- **GDB version:** `GNU gdb (GNU Tools for Arm Embedded Processors 7-2017-q4-major) 8.0.50.20171128-git`\r\n- **JLinkGDBServer** version: `SEGGER J-Link GDB Server V6.34g Command Line Version`\r\n\r\n## VSCode Versions:\r\n```\r\nVersion: 1.28.2\r\nCommit: 7f3ce96ff4729c91352ae6def877e59c561f4850\r\nDate: 2018-10-17T00:20:56.183Z\r\nElectron: 2.0.9\r\nChrome: 61.0.3163.100\r\nNode.js: 8.9.3\r\nV8: 6.1.534.41\r\nArchitecture: x64\r\n```\r\n\r\n## Host OS info\r\n```\r\nDISTRIB_ID=Ubuntu\r\nDISTRIB_RELEASE=18.04\r\nDISTRIB_CODENAME=bionic\r\nDISTRIB_DESCRIPTION=\"Ubuntu 18.04.1 LTS\"\r\nLinux kernel release 4.15.0-34-generic\r\n```"},"comment":{"url":"https://api.github.com/repos/Marus/cortex-debug/issues/comments/440776085","html_url":"https://github.com/Marus/cortex-debug/issues/105#issuecomment-440776085","issue_url":"https://api.github.com/repos/Marus/cortex-debug/issues/105","id":440776085,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MDc3NjA4NQ==","user":{"login":"bigbrett","id":7547222,"node_id":"MDQ6VXNlcjc1NDcyMjI=","avatar_url":"https://avatars3.githubusercontent.com/u/7547222?v=4","gravatar_id":"","url":"https://api.github.com/users/bigbrett","html_url":"https://github.com/bigbrett","followers_url":"https://api.github.com/users/bigbrett/followers","following_url":"https://api.github.com/users/bigbrett/following{/other_user}","gists_url":"https://api.github.com/users/bigbrett/gists{/gist_id}","starred_url":"https://api.github.com/users/bigbrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigbrett/subscriptions","organizations_url":"https://api.github.com/users/bigbrett/orgs","repos_url":"https://api.github.com/users/bigbrett/repos","events_url":"https://api.github.com/users/bigbrett/events{/privacy}","received_events_url":"https://api.github.com/users/bigbrett/received_events","type":"User","site_admin":false},"created_at":"2018-11-21T19:01:39Z","updated_at":"2018-11-21T19:01:39Z","author_association":"NONE","body":"@Sambo007 LC stands for load cell, i.e. a very specific arrangement of mechanical strain gauges that give you a way to measure the forces and moments applied to a \"joint\", say for a robotic arm or other unspecified appendage. A \"sensor\" that gives you xyz force components and xyz moments about a joint linkage axis, if you will."}}
{"actor":{"display_login":"bigbrett"}}