Jump to content

Uncaught TypeError: window.Tracy.Debug.bar is undefined

Ivan Gretsky

Recommended Posts

Good day, @adrian!

I am debugging an Admin Action (yes, another module of your's)). I get an error and try to debug with bd(). I can see the Tracy bar and the dumps count appear. But then I hover the cart with dumps popup doesn't show. Actually no popups in the bar work.

I get this message in the browser dev tools console:

I also notice, that the Tracy code is added to the document twice:

Why can that happen? Tracy seem to work as it should on other pages.

Link to comment
Share on other sites

Hi @Ivan Gretsky - thanks for the file. Unfortunately I can't reproduce yet. I thought perhaps you might have been bootstrapping PW into the action or something like that. Seeing Tracy loaded twice like that is definitely weird. Do you only see that with this action, or any Admin Action?

Does it show up when loading the action, or only after running it?

Link to comment
Share on other sites

I am running this action just like any other. But it does end up with an error (which I am trying to debug) and a Bluescreen (Redscreen would be a better term here))).

I do not see this on any other actions I run, though I didn't try to make them end with an error.

I does show only when I am running it and get an error.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...