Skip to content
This repository was archived by the owner on Oct 18, 2018. It is now read-only.

Debugging with Source and Symbols is not working #92

Closed
garora opened this issue Nov 5, 2016 · 22 comments
Closed

Debugging with Source and Symbols is not working #92

garora opened this issue Nov 5, 2016 · 22 comments
Assignees
Labels

Comments

@garora
Copy link
Contributor

garora commented Nov 5, 2016

Documentation is sufficient to setup repository to work local here is the link: Debugging with Source and Symbol. After following all steps, I tried to run Bitbucket receiver sample. Unfortunately, after several tries I am getting exception
Could not load file or assembly 'Microsoft.AspNet.WebHooks.Common' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)

Any help on this will be highly appreciated.

Update (on Sept 09, 2017): Updated link for ASP.NET WebHooks debugging.

Note: Issue#62 does not work for me.

@HenrikFrystykNielsen
Copy link
Contributor

ok, will have a look.

@garora
Copy link
Contributor Author

garora commented Nov 27, 2016

@HenrikFrystykNielsen - I am still facing this issue. Any alternatives to this till we got a solution of this issue?

@HenrikFrystykNielsen
Copy link
Contributor

I also can't make it work -- trying to ask the VS guys about what might be going on.

@garora
Copy link
Contributor Author

garora commented Dec 20, 2016

Thanks, looking forward a positive response 👍

@garora
Copy link
Contributor Author

garora commented Dec 26, 2016

Any response from VS guys on this? This looks like showstopper for development

@garora
Copy link
Contributor Author

garora commented Mar 21, 2017

@HenrikFrystykNielsen - any updates on this? Still getting same issue even on a new dev box.

@LuisPignataro
Copy link

LuisPignataro commented Aug 2, 2017

Same problem Here!! Any WorkAround?

@garora
Copy link
Contributor Author

garora commented Aug 2, 2017

@LuisPignataro - No, its not at our end. I hope this issue will resolve sooner.

@garora
Copy link
Contributor Author

garora commented Aug 13, 2017

@HenrikFrystykNielsen - any news on this front?

@PoulTur
Copy link

PoulTur commented Aug 20, 2017

I ran across same issue today.

@garora
Copy link
Contributor Author

garora commented Aug 20, 2017

@PoulTur - Still waiting on it.

@PoulTur
Copy link

PoulTur commented Aug 20, 2017

@garora Actually all went ok, by just importing the Webhooks package to a fresh solution and then copying the code from sample project.

@garora
Copy link
Contributor Author

garora commented Aug 21, 2017

@PoulTur - nice to hear that. But, actual issue was something related to DEBUG symbols.

@garora
Copy link
Contributor Author

garora commented Aug 21, 2017

Still facing same issue even on clean install on new box.

@garora
Copy link
Contributor Author

garora commented Sep 7, 2017

What is the best way to connect with VS guys?

@dougbu
Copy link
Contributor

dougbu commented Nov 22, 2017

Discussions about symbol servers, inclusion of symbols in released packages, and source linking for .NET are ongoing. The plan is for WebHooks packages to take the same approaches in our next release.

In the meantime however, we'll investigate.

@dougbu dougbu self-assigned this Nov 22, 2017
@dougbu dougbu added this to the 2.0.0 milestone Nov 22, 2017
@garora
Copy link
Contributor Author

garora commented Nov 22, 2017

I will be start working on #15 as soon as the aforesaid issue get resolved.

@dougbu
Copy link
Contributor

dougbu commented Dec 3, 2017

I tested breakpoints in my handler, function breakpoints e.g. on Microsoft.AspNet.WebHooks.BitbucketWebHookReceiver.ReceiveAsync(...), and moving around from each. I also did similar testing with a Stripe handler. Other than landing in disassembly instead of source code when using function breakpoints, I didn't hit any snags. (I could reach source for the same classes navigating in the call stack from other breakpoints.) I even debugged a Release handler and lost only a few locals.

Deploying to Azure (regular Publish from Visual Studio 2017), using Application Insights (see https://docs.microsoft.com/en-us/azure/application-insights/app-insights-asp-net), and debugging (see https://docs.microsoft.com/en-us/aspnet/webhooks/diagnostics/debugging) all seems fine. In particular the http://srv.symbolsource.org/pdb/Public symbol server worked well.

What exactly is failing for others these days? I'm wondering if for example older Web API templates configured handler applications differently. Or I may not have tried the actions others have had problems with.

@dougbu
Copy link
Contributor

dougbu commented Dec 3, 2017

@garora what exactly is blocking work on #15? That is, what debugging aspect isn't working for you?

@garora
Copy link
Contributor Author

garora commented Dec 3, 2017

@dougbu - Thanks for the heads up on the issue. I will try to replicate the same in couple of ours from now and will be keep here posted.

@garora
Copy link
Contributor Author

garora commented Dec 5, 2017

@dougbu - Now, its working for me as well. I will start work and make PR . You can close this issue.

@dougbu dougbu added invalid and removed investigate labels Dec 5, 2017
@dougbu
Copy link
Contributor

dougbu commented Dec 5, 2017

Something external likely changed. Issue is no longer valid.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

5 participants