question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change dotnet build to create portable pdbs by default

See original GitHub issue

The current experience for VS Code users is not ideal for debugging when running on Mac/Linux because you cannot step into a break point until you update project.json to produce portable pdbs by default.

When dotnet build is executed it should produce portable pdbs by default if it’s not already configured in project.json.

Related to dotnet/sdk#6341

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
eerhardtcommented, Jun 16, 2016

Changing to portable pdbs caused issues debugging in Visual Studio on Windows

Can you elaborate on the issues? Also, shouldn’t we be fixing those issues in Visual Studio?

0reactions
livarcocccommented, Sep 19, 2016

Our templates are using portable pdbs by default.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change dotnet new to create portable pdbs by default #6341
We would like to default this to create portable pdbs when running dotnet build , but after some discussions we feel that is...
Read more >
dotnet build command - .NET CLI
The dotnet build command builds a project and all of its dependencies.
Read more >
Set debug and release configurations in Visual Studio
In most C++ projects, the default value is $(OutDir)$(TargetName).pdb , which generates .pdb files in the output folder. Generate PDBs for ...
Read more >
C# Compiler Options that control code generation
C# Compiler Options to control code generation. The options affect the code ... To change the location of the .pdb file, see PdbFile....
Read more >
Create a single file for application deployment - .NET
Single file applications have all related PDB files alongside the application, not bundled by default. If you want to include PDBs inside the ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found