-
Notifications
You must be signed in to change notification settings - Fork 793
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
ship FSharp.Core.pdb files #294
Comments
This is a great question: Publishing debug symbols with the project is probably not a great idea, since most people won't be debugging the project, however, I believe they should be published to the Microsoft public symbol server. At least for the VS2013, VS 2012. I think we may have forgotten to do that for the two Out of band releases. If they are not then we should figure out how to do so. Details: https://msdn.microsoft.com/en-us/library/b8ttk8zy(v=vs.90).aspx Thanks Kevin |
They should be included with all the builds. Symbol servers are not a good idea, especially the Microsoft public symbol servers that tend to strip information from the pdb files. If the pdb files get source indexed, then users will be able to debug into FSharp.Core and see the exact source. If Power Tools adds support fsprojects-archive/zzarchive-VisualFSharpPowerTools#201 then it will be possible to F12 into the source at design time. Take an additional step in making F# more open source. Provide users the ability to see the source on demand. Including the pdb files with the builds is an easy first step. |
👍 for @ctaggart source index, is great |
I don't think the symbol servers strip the information. I think we just build and post stripped symbols for some products. Shipping symbols.with product just bloats the size of the deployment and they are rarely used by anyone. Symbol and source servers are the right solution for that. |
GitHub can be the source server. Source indexed .pdb files would get more eyes on the F# source code and make it much easier to contribute back. Every build can include its own symbols. The symbols never get lost. Including the .pdb files will make the distribution bigger. You have options:
Option 1 is my favorite. Would it make the 27.8 MB download twice as big? It is totally worth it. |
We are currently struggling with the need to reduce the size of installers not increase them. The preview builds we post are intended to be the exact installers that we use for Oob and Visual Studio Releases. It is not our plan to increase their size without a corresponding increase in functionality. We do not expect the majority of F# developers to have the need to debug our libraries or tools. To debug Visual F# with debugging symbols you will need to rebuild the open source codebase and either patch the VS or debug using the enableopensource project in deployment.sln. |
It would be killer to have this feature. The biggest stumbling block I get when introducing C# devs to F# is that they lose the simple f12 to view source workflow that they are used to. They view this as a symbol of immature tooling, and then tune out the rest of the benefits of the language. Showing tooling on par with the other .Net languages is a critical aspect of evangelizing F#. |
Are there .pdb files available for the RC that I can test? |
@ctaggart - no AFAIK symbols aren't available anywhere public. Maybe we can find them on an internal build share and distribute them, will need to check. |
I'd really love to be able to include source indexed .pdb files with the |
@ctaggart I don't think there is a particular reason for us not to redist the PDBs. The Roslyn people are also trying to figure out a practical way to do this, too. In internal TFS source control that produces official builds, everything has CR/LF. We can't change that now, though for future we could look into it. |
closing old discussion |
@dsyme Why was this closed? Was it decided not to ship FSharp.Core.pdb files or did you find a way to actually ship them? |
Only because it was marked discussion and stale. I'll reopen it as a feature suggestion. |
@jdh30 |
@KevinRansom afaik this is now done with |
Can we leave it around for a while. I want to revisit everything we do about pdbs, including generating portables by default and converting them to windows pdb on windows builds. |
The pdb files are still missing from the current FSharp.Core 4.2.3.
If you are using <PropertyGroup>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup> That is what I did for SourceLink 2.7 |
Microsoft has decided to ship their source linked pdb files to their symbol server. Please do the same. aspnet/Universe#850 Everyone else outside of Microsoft, it is recommended by Microsoft to put the source linked pdb files in the nuget packages. |
I just ran into this as well, would be great to have pdb files available for fsharp.core! |
Same, its painful to debug FSharp.Core if you need to without anything like this. |
Did the FSharp.Core 4.5.0 pdb files get published somewhere internally such as the prodcon symbol server? |
This is technically done. The pdb files that match the dll's in the 4.5.2 nupkg are on the Microsoft Symbol Servers. For me, it download the symbol to: Now you just need to:
Progress! I'll open up separate issues. |
Please include
FSharp.Core.pdb
files in theFSharp.Bundle.exe
distributions.The text was updated successfully, but these errors were encountered: