-
Notifications
You must be signed in to change notification settings - Fork 676
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
Break points are not hit when running the app #82
Comments
Can you please provide the output of |
.NET Command Line Tools (1.0.0-beta-001598) Product Information: Runtime Environment: |
Also I am seeing in the Debug Console output window the following message
I am seeing similar messages for the framework assemblies too. note that I am already using one more thing, I am seeing the following message when restarting VS Code
|
There are two issues:
|
Now it is working. thanks for your help. |
just in case if anyone else run into the same issue, the version of the CLI which worked for me is:
and project.json will be like the following (note that the framework will be netstandardapp1.5):
} |
I'm glad it's working now. Thanks for the additional feedback! |
I had the same problem and adding "debugType": "portable" to Project.json obviously solved it although otherwise I have completely different entries |
For Visual Studio people searching on this issue:
|
Additional note for Visual Studio people: Make sure to set @bboyle1234's suggestion here: <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
<PlatformTarget>x64</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>portable</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup> |
I have followed the exact steps on the page https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger.md. I tried that on Windows and Ubuntu 14.04. when setting a break point on the code and then run the app (using F5), the execution doesn't stop on the break point although the break point is listed in the BREAKPOINTS window. here is all files I have (on Windows) so you may point what is wrong:
NuGet.Config:
The text was updated successfully, but these errors were encountered: