Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging with mono and building with xbuild breaks debugging! #24831

Closed
chncy opened this issue Apr 15, 2017 · 1 comment
Closed

Debugging with mono and building with xbuild breaks debugging! #24831

chncy opened this issue Apr 15, 2017 · 1 comment
Assignees

Comments

@chncy
Copy link

chncy commented Apr 15, 2017

  • VSCode Version: 1.11.2
  • OS Version: Debian 8 jessie 64-bit

Steps to Reproduce:

  1. Use mono in launch.json and xbuild for building
  2. Try to debug program: Code execution pauses at breakpoint but i cant see variables, watch them or even see where the code is currently paused at.

launch.json:

{
    "version": "0.2.0",
    "configurations": [
        {
            "name": "Launch",
            "type": "mono",
            "request": "launch",
            "program": "${workspaceRoot}/SteamBot/bin/Debug/SteamBot.exe",
            "cwd": "${workspaceRoot}/SteamBot/bin/Debug/",
            "preLaunchTask": "build",
            "runtimeExecutable": null,
            "env": {}
        },
        {
            "name": "Attach",
            "type": "mono",
            "request": "attach",
            "address": "localhost",
            "port": 55555
        }
    ]
}

tasks.json:

{
    "version": "0.1.0",
    "command": "xbuild",
    "args": [
        "/property:GenerateFullPaths=true /debug:full /debug+"
    ],
    "taskSelector": "/t:",
    "showOutput": "silent",
    "tasks": [
        {
            "taskName": "build",
            "showOutput": "silent",
            "problemMatcher": "$msCompile"
        }
    ]
}
@weinand
Copy link
Contributor

weinand commented Apr 18, 2017

This issue was moved to microsoft/vscode-mono-debug#29

@weinand weinand closed this as completed Apr 18, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants