pdb-files

Including project referenced PDB files into nuget package

强颜欢笑 提交于 2020-04-15 04:34:09
问题 I'm trying to include PDB files of project references into Nuget package, by using dotnet pack command. I've found solution to include project referenced DLL files into nuget package. This needs adding some code to .csproj file. I've also tried to make it work with .pdb files, but this doesn't work. This code copy only *.dll files to nuget. <Target Name="CopyProjectReferencesToPackage" DependsOnTargets="ResolveReferences"> <ItemGroup> <BuildOutputInPackage Include="@(ReferenceCopyLocalPaths-

How do I embed source into pdb, and have debugger(s) use it?

夙愿已清 提交于 2020-04-07 14:51:29
问题 NOTE : my target concern is C# targeting the CLR with regular MSIL in case there's something that works for that but not in the more general case(s). Some existing source debugging support examples There was recently a release of the Sourcepack project which allows a user to rewrite the source paths in a pdb file to point at different locations. This is very useful when you have the source for the assembly, but don't want to try and get it into the exact same filesystem location(s) as when it

How do I embed source into pdb, and have debugger(s) use it?

依然范特西╮ 提交于 2020-04-07 14:51:13
问题 NOTE : my target concern is C# targeting the CLR with regular MSIL in case there's something that works for that but not in the more general case(s). Some existing source debugging support examples There was recently a release of the Sourcepack project which allows a user to rewrite the source paths in a pdb file to point at different locations. This is very useful when you have the source for the assembly, but don't want to try and get it into the exact same filesystem location(s) as when it

How can I get Visual Studio to use Embedded Source code whilst debugging?

纵饮孤独 提交于 2020-02-19 09:38:41
问题 I have embedded the C# source code into a portable PDB file using the <EmbedAllSources> element in the csproj file, and I have embedded the pdb into the assembly using the <DebugType>embedded<DebugType> as described in Embedding C# sources in PDB with new csproj My assembly looks like this: <PropertyGroup> <TargetFramework>netstandard2.0</TargetFramework> <EmbedAllSources>true</EmbedAllSources> <DebugSymbols>true</DebugSymbols> <DebugType>embedded</DebugType> </PropertyGroup> I can confirm

How can I get Visual Studio to use Embedded Source code whilst debugging?

 ̄綄美尐妖づ 提交于 2020-02-19 09:38:35
问题 I have embedded the C# source code into a portable PDB file using the <EmbedAllSources> element in the csproj file, and I have embedded the pdb into the assembly using the <DebugType>embedded<DebugType> as described in Embedding C# sources in PDB with new csproj My assembly looks like this: <PropertyGroup> <TargetFramework>netstandard2.0</TargetFramework> <EmbedAllSources>true</EmbedAllSources> <DebugSymbols>true</DebugSymbols> <DebugType>embedded</DebugType> </PropertyGroup> I can confirm

How can I get Visual Studio to use Embedded Source code whilst debugging?

瘦欲@ 提交于 2020-02-19 09:37:39
问题 I have embedded the C# source code into a portable PDB file using the <EmbedAllSources> element in the csproj file, and I have embedded the pdb into the assembly using the <DebugType>embedded<DebugType> as described in Embedding C# sources in PDB with new csproj My assembly looks like this: <PropertyGroup> <TargetFramework>netstandard2.0</TargetFramework> <EmbedAllSources>true</EmbedAllSources> <DebugSymbols>true</DebugSymbols> <DebugType>embedded</DebugType> </PropertyGroup> I can confirm

How can I get Visual Studio to use Embedded Source code whilst debugging?

血红的双手。 提交于 2020-02-19 09:36:31
问题 I have embedded the C# source code into a portable PDB file using the <EmbedAllSources> element in the csproj file, and I have embedded the pdb into the assembly using the <DebugType>embedded<DebugType> as described in Embedding C# sources in PDB with new csproj My assembly looks like this: <PropertyGroup> <TargetFramework>netstandard2.0</TargetFramework> <EmbedAllSources>true</EmbedAllSources> <DebugSymbols>true</DebugSymbols> <DebugType>embedded</DebugType> </PropertyGroup> I can confirm

Compiler PDB file and the Linker PDB file

橙三吉。 提交于 2020-01-30 18:45:31
问题 I am getting confused as to what is the difference between the compiler and linker PDB files respectively (i.e. in Visual Studio, Project Properties > C/C++ > Output Files > Program Database File Name vs Project Properties > Linker > Debugging ) . I have tried to find the answer online and so far I know (may be wrong) that a PDB file by the compiler is generated for obj files while the PDB file by the linker is generated for the binary (exe or dll) and is the one used for debugging. If that

Source information missing from the debug information for this module - PDB successfully loaded

可紊 提交于 2020-01-14 07:38:09
问题 Visual Studio loads the correct PDB file, but can't find source information for anything in the solution. Things I've tried: Clean, reboot, regenerate project (CMake), rebuild Check the Modules window to ensure the PDB is loaded (it is) Mess with "Debug Source Files" setting under solution properties Check the PDB file with symchk (it says the PDB matches the EXE, and that it has full symbol information, i.e. it's not stripped) Download system lib symbols from Microsoft because why not Is

No symbols have been loaded and pdb file missing

淺唱寂寞╮ 提交于 2020-01-13 16:29:51
问题 I'm trying to understand why I get the "The breakpoint will not currently be hit. No symbols have been loaded for this document" message, when try to debug my web site application (note: no web application, in case it matters) So far I found out that the pdb (project debug database) file is as important as the source code, and it should appear in the bin folder, but for whatever reason the file is missing, just some dll's are placed there, actually there is no pdb file in the entire directory