Azure / Azure/Azure-Functions

Azure Functions SDK is shipping with Embedded PDB

Open
#2,126 4 comments 1 reaction 1 assignee Claimed by @v-bbalaiagar View on GitHub
bug needs-investigation
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

Azure Functions SDK is shipping release built, optimized binaries with Embedded PDBs. Embedded PDBs are not expected to be used for release distribution, and bloat the size of the binaries packages. The presence of the embedded pdb also causes issues with the VS Debugger, as embedded PDBs are loaded even when Just My Code is enabled, causing non-user exceptions within the Azure Functions SDK to appear to the user.

I am adding a fix for this embedded pdb load behavior in VS, but I still think it incorrect that Azure is shipping embedded PDB's in the SDK.

At least one known example of this is Microsoft.Azure.WebJobs.Host.dll which is part of the [Microsoft.Azure.WebJobs package](https://www.nuget.org/packages/Microsoft.Azure.WebJobs/). It is a release built, optimized binary but still contains an embedded pdb. I imagine there are others within the SDK.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.