Environment data
dotnet --info output:
.NET Command Line Tools (2.2.0-preview1-008003)
Product Information:
Version: 2.2.0-preview1-008003
Commit SHA-1 hash: 839eccbcaf
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.13
OS Platform: Darwin
RID: osx.10.12-x64
Base Path: /Users/namc/.dotnet/sdk/2.2.0-preview1-008003/
Microsoft .NET Core Shared Framework Host
Version : 2.1.0-preview1-26122-01
Build : ecbd4f6c01c29de8bbf0669b5cd571f353065eb0
VS Code version:
Version 1.20.0-insider (1.20.0-insider)
8708c716367d9ea6822c860c1fcfcff4e2034605
C# Extension version: 1.13.1
Steps to reproduce
- Download and install a .NET Core 2.1 SDK preview. https://github.com/dotnet/cli/tree/release/2.1.3xx#installers-and-binaries
- Create a new netcoreapp2.1 console app:
dotnet new console -o /tmp/test
- Open VS Code to /tmp/test
- Add launch.json settings to .vscode/
{
"version": "0.2.0",
"configurations": [
{
"name": ".NET Core Launch (console)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/bin/Debug/netcoreapp2.1/test.dll",
"args": [],
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"stopAtEntry": false,
"internalConsoleOptions": "openOnSessionStart"
}
]
}
- Add a breakpoint into Program.cs
- Launch debugger
Expected behavior
Debugger stops on breakpoints
Actual behavior
No stop.
/private/tmp/test/bin/Debug/netcoreapp2.1/test.pdb exists, but the console output says
Loaded '/private/tmp/test/bin/Debug/netcoreapp2.1/test.dll'. Module was built without symbols
Environment data
dotnet --infooutput:VS Code version:
C# Extension version: 1.13.1
Steps to reproduce
dotnet new console -o /tmp/test{ "version": "0.2.0", "configurations": [ { "name": ".NET Core Launch (console)", "type": "coreclr", "request": "launch", "preLaunchTask": "build", "program": "${workspaceFolder}/bin/Debug/netcoreapp2.1/test.dll", "args": [], "cwd": "${workspaceFolder}", "console": "internalConsole", "stopAtEntry": false, "internalConsoleOptions": "openOnSessionStart" } ] }Expected behavior
Debugger stops on breakpoints
Actual behavior
No stop.
/private/tmp/test/bin/Debug/netcoreapp2.1/test.pdbexists, but the console output says