-
Notifications
You must be signed in to change notification settings - Fork 795
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
Cannot debug VFT inself anymore - FSharp.Editor has no PDB file #2771
Comments
Yes I noticed that as well. Since very recently I can't debug the compiler.
Usually I do:
* git clean -xdf
* build debug
* open vs
* set Fsc as startup project
* F5
I thought I messed up my settings, but since you see something similar...
Am 02.04.2017 10:26 schrieb "Vasily Kirichenko" <[email protected]>:
…
- git cleanup
- deleted c:\Users\me\AppData\Local\Microsoft\VisualStudio\15.0_
183b437fFSharpDev
- deleted c:\Users\me\AppData\Roaming\Microsoft\VisualStudio\15.0_
183b437fFSharpDev
- build vs
- build VFT solution inside VS
- Ctrl+F5
- attached to the exp instance
- tried to set a breakpoint in several places in FSharp.Editor and
FSharp.Language.Service
[image: image]
<https://cloud.githubusercontent.com/assets/873919/24585569/ca120d20-1796-11e7-8ced-abfd46cb9cca.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2771>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AADgNKrje5ioAT7riOSjNa5HOG_HYLjBks5rr1vCgaJpZM4MwvJE>
.
|
wow :(( |
Ok so we should investigate if older commits still work. If so we probably
find the one using bisect
Am 02.04.2017 10:30 schrieb "Vasily Kirichenko" <[email protected]>:
… wow :((
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2771 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNApwQ6_MEpI83TgxVZjFIZOO3CdFks5rr1yrgaJpZM4MwvJE>
.
|
I think the big diff was switching to more nuget VS packages instead of GAC deps. |
Sigh. |
I'm completely stuck on working on VFT at the moment :( |
tried adding <IncludeDebugSymbolsInVSIXContainer>true</IncludeDebugSymbolsInVSIXContainer>
<IncludeDebugSymbolsInLocalVSIXDeployment>true</IncludeDebugSymbolsInLocalVSIXDeployment> to after disabling just my code in debug settings Changing the setting suggested in the image below made no difference |
I've copied *.pdb manually, it's not helped. |
Why the hell it's optimized?? |
@sergey-tihon Can you run VSIXInstaller to remove the nightly and load F# projects after that? (It should be using the vs2017 RTW version of the tools). |
cc @ctaggart |
switching back to my so the problem should be within |
There seems to be an issue with portable PDBs: After disabling optimizations and setting DebugType: full, all breakpoints bind, and all except two (the marked lines) also actually hit. I had to disable sourcelink, because sourcelink only works with portable pdbs. With optimizations enabled, some breakpoints wouldn't bind, but the ones that bound then also got hit. |
Thanks @0x53A ! It started to work with your fix, but only after another git clean. |
@majocha you don't need to clean, but you need to change anything in any file, because the up-to-date check doesn't check the |
clean is often needed if you want to rebuild proto or when nuget fucked up again. |
This is really really painful |
Yeah, I'm totally blocked again. Breakpoints fail to bind. |
cc @KevinRansom @brettfo - this has to be resolved quickly. |
Fixed in master. |
c:\Users\me\AppData\Local\Microsoft\VisualStudio\15.0_183b437fFSharpDev
c:\Users\me\AppData\Roaming\Microsoft\VisualStudio\15.0_183b437fFSharpDev
build vs
The text was updated successfully, but these errors were encountered: