microsoft / microsoft/vscode-mono-debug
Debugging with mono and building with xbuild breaks debugging!
Open
Nobody has claimed this yet.
bug
- Dominant language
- C#
- Stars
- 180
- Forks
- 182
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 1
Description
From @chncy on April 15, 2017 16:56
- VSCode Version: 1.11.2
- OS Version: Debian 8 jessie 64-bit
Steps to Reproduce:
- Use mono in launch.json and xbuild for building
- 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",
"args": ["getrightsucks", "Sk1ns7Pur"],
"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"
}
]
}
Copied from original issue: Microsoft/vscode#24831
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the provided launch.json and tasks.json, using mono and xbuild on Debian 8. Check the debugging session at a breakpoint; the work is done when execution location and variable inspection are available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100