You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the same error when I try to debug a C++ program on Windows using cppvsdbg, except that it's "Unexpected token C" and it's shortly after starting the program. I have a breakpoint set but it's not reached during that time. If I disable the breakpoint everything works.
From @thomasgarai on May 29, 2016 0:36
====================>
Commit def9e32467ad6e4f48787d38caf190acbfee5880
Date 2016-05-13T13:38:00.094Z
Shell 0.37.6
Renderer 49.0.2623.75
Node 5.10.0
=============================>
Steps to Reproduce:
Unexpected token E. Stopping the debug adapter
visual studio code debug console output:
===============================>
/usr/local/bin/mono --debug --debugger-agent=transport=dt_socket,server=y,address=127.0.0.1:55169 --debug ATF.exe
ps -ef yields the following:
====================>
ps -ef | grep mono
tg 14773 2250 0 10:02 ? 00:00:00 /usr/local/bin/mono --debug --debugger-agent=transport=dt_socket,server=y,address=127.0.0.1:55169 --debug ATF.exe
netstat -an shows socket still open
===========================>
$ netstat -an | grep 55169
tcp 0 0 127.0.0.1:55169 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:55169 127.0.0.1:44326 CLOSE_WAIT
The launch.json file:
{
"version": "0.2.0",
"configurations": [
{
"name": "mono",
"type": "mono",
"request":"launch",
"program": "${workspaceRoot}/bin/Debug/net40/ubuntu.14.04-x64/ATF.exe",
"runtimeExecutable": "/usr/local/bin/mono",
"runtimeArgs": ["--debug"]
},
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceRoot}/bin/Debug/net40/ubuntu.14.04-x64/ATF.exe",
"args": [],
"cwd": "${workspaceRoot}",
"stopAtEntry": false
},
{
"name": ".NET Core Launch (web)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceRoot}/bin/Debug/net40/ubuntu.14.04-x64/ATF.exe",
"args": [],
"cwd": "${workspaceRoot}",
"stopAtEntry": false,
"launchBrowser": {
"enabled": false,
"args": "${auto-detect-url}",
"windows": {
"command": "cmd.exe",
"args": "/C start ${auto-detect-url}"
},
"osx": {
"command": "open"
},
"linux": {
"command": "xdg-open"
}
}
},
{
"name": ".NET Core Attach",
"type": "coreclr",
"request": "attach",
"processName": "ATF"
}
]
}
Copied from original issue: microsoft/vscode#7001
The text was updated successfully, but these errors were encountered: