vscode-azurefunctions icon indicating copy to clipboard operation
vscode-azurefunctions copied to clipboard

Debugging not working

Open stefanstranger opened this issue 2 years ago • 1 comments

When developing an Azure Function in Visual Studio Code debugging is not working as expected. When setting a breakpoint in a default example c# http triggered Function it does not stop at the set breakpoint.

See below screenshot. image

Workaround:

image

Environment:

  • Visual Studio Code version: 1.63.1 (64bits)
  • Azure Function Core Tools version: 3.0.3785 (64bits)

Regards, Stefan Stranger

stefanstranger avatar Dec 23 '21 08:12 stefanstranger

Related to https://github.com/microsoft/vscode-azurefunctions/issues/3009

nturinski avatar Jan 06 '22 23:01 nturinski

@stefanstranger Sorry there hasn't been much traction on this issue.

But I wanted to ask if this is still reproducing. Sometimes the VS Code or Function Core Tools are the root cause for debugging issues, so hopefully it's resolved,

If this is still an issue, do you know what OS the screenshots were taken in?

nturinski avatar Dec 01 '22 23:12 nturinski

If this is still an issue, do you know what OS the screenshots were taken in?

From the screenshots it's a Windows machine.

alexweininger avatar Dec 21 '22 20:12 alexweininger

I'm unable to reproduce this with the current build. Hits the breakpoint-- I'm wondering if there are some environments where the process ID doesn't match what we expect? Might have been a bug in the core tools as well.

image

image

image

Function Core Tools Version: 4.0.4915

nturinski avatar Dec 21 '22 23:12 nturinski

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

AzCode-Bot avatar Jan 20 '23 05:01 AzCode-Bot