Base solution for your next web application
Open Closed

Unable to debug the hangfire jobs from hangfire dashboard #11036


User avatar
0
shedspotter created

What is your product version? 11.0.0

What is your product type (Angular or MVC)? Angular

What is product framework type (.net framework or .net core)? .NET 6

Hi , I want to debug one of the mentod which I am calling from hangfire but when I am trying to debug that job from hangfire dashboard , the trigger is fired correctly but it is attached debugger in vs 2022 previuously it is working fine but suddenly it is stop working from hangire dashboard. There is no error found so far while trigger it , so unable to provide any information. Please let me know that are you guys are available for a call so that you guys can understand the problem Thanks


5 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @shedspotter

    Are you able to debug other parts of the app ?

  • User Avatar
    0
    shedspotter created

    Hi @ismcagdas , Yes I am able to debugg other method , but not from hangfire tiggerd

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @shedspotter

    Could you check if the related Hangfire method is executed even if you can't debug it ? Is it possible that, it might not be executing ?

  • User Avatar
    0
    shedspotter created

    Hi @ismcagdas, Yes the related Hangfire method is executed but when we are try to debug it, it is not hitting the debugger

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @shedspotter

    Is there more than 1 app connecting to same database ? If so, in that case, another app might be executing the job, so you can't debug it correctly. If that is not the case, I don't have any other suggestion. Maybe you can cehck hangfrie support website for a similar problem.