New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Debugging is not hitting the Breakpoint when Remote Debugging using Visual Studio 2017 #844
Comments
Have you checked the Modules window to see if your symbols are getting loaded? Regarding the message you saw, it's possible the issue is related to your use of VS 2017 15.8.0, which is currently in preview, and thus we might not have the right server-side components installed. @safihamid do you know if the remote debugging bits we have today work with this prerelease version of VS? |
I just tested this using 15.8.0 Preview 2.0 out of the box and everything worked fine for me. I didn't need to install any additional remote tools. I suggest you uninstall the remote tools package from your client and see if it works or not. Also using Runtime version: 2.0.11857.0 (beta) . |
After uninstalling Remote Tools When I Attach Debugger, this appears
Then I installed it again, but still have this error. Can not start Debugging session. If I try to start debugging on the next Function (webapiusv2 in that piture), then it starts the debugging session. |
@cgillum I checked now the Modules |
I don't know how, but now the debugging is worked again, that error window is not appearing anymore. |
I got the same problem and using Azure Functions and Web Tools 15.0.40617.0. I'm running my app on an app service plan and not even the modules are loaded from my function app. |
@jeromekol There is a bug in VS Cloud Explorer for functions V2 that will be fixed soon. But when manually attaching make sure in the 'Attach to:' when clicking the 'Select...' button you pick 'Managed (CoreCLR) code'. |
thx @safihamid that worked for me! |
This worked last week and does not work today. I get the same message in the output window -> Diagnostics Hub from both Server explorer and Cloud explorer. @mathewc - can this be reopened? |
I am trying this step but i receive an invalid credential exception. what cred should i use? i tried my ms 365 account but it doesn't recognize it, i am the owner of the subscription. |
I published a Debug version of Azure Function (v2, C#, precompiled)
The Debugging is not hitting the Breakpoint when Remote Debugging
If I run locally, then Debugging works as expected.
It seems that I am unable to remote debug Azure Functions V2 C# precompiled, using Visual Studio, the debugging sessions starts, but the breakpoints does not hit
I noticed this message
I installed https://aka.ms/vs/15/release/RemoteTools.amd64ret.enu.exe but still have this same problem.
I am using
Azure Functions v2 Runtime version: 2.0.11857.0 (beta) and Visual Studio 2017 15.8.0 Preview 2.0
The text was updated successfully, but these errors were encountered: