Skip to content

[AspireE2E][Azure Functions] Function endpoint is accessible but breakpoints are not hit (No symbols loaded) #15378

@v-reinawang

Description

@v-reinawang

REGRESSION INFO: Worked-in: Aspire.ProjectTemplates 13.1.2

INSTALL STEPS

  1. Clean machine: Windows x64 25h2
  2. Install VS 18.5 Insiders 2
  3. Add feed
  4. Install Aspire.ProjectTemplates 13.2.0

REPRO STEPS

  1. Create an Azure Functions (Isolated) project.
    • Check “Enlist in Aspire orchestration”
  2. Set a breakpoint in the HTTP trigger defined as a default part of the template (Refers to the "Function1.cs" file added by default in Function App).
  3. Press F5 to run the Aspire AppHost.
  4. From the Aspire dashboard, open the Functions HTTP endpoint, verify that the breakpoint is hit.

Actual Result
The Function endpoint responds successfully.
The breakpoint is not hit.
Visual Studio shows:

  • The breakpoint will not currently be hit. No symbols have been loaded for this document
Recording.3-19.at.13.29.webm

In Debug > Windows > Modules, the Functions project DLL is not loaded
Image

Expected Result
The HTTP-triggered Azure Function executes.
The breakpoint in the Functions project is hit.

Recording.3-19.at.13.32.webm

In Debug > Windows > Modules, the Functions project DLL is loaded
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-area-labelAn area label is needed to ensure this gets routed to the appropriate area owners‼️regression-from-last-releaseThis used to work in an earlier version of Aspire and we broke it!

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions