New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 734426 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Non-React Breakpoint inspection hijacked by React Devtools

Reported by dan...@gmail.com, Jun 18 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36

Steps to reproduce the problem:
1. Have React Dev Tools plugin installed but disabled (I guess - I do)
2. Set a breakpoint, my conditions are complex & legacy, no React in use whatsoever. I'm not skilled enough to define a set of breakpoint debugging steps and I have tonnes & tonnes of them I've been stepping through.
3. Observe occasionally that VM tabs recursively open up regardless of the next breakpoint decision. The contents of the VM tab `!!(Object.keys(window.__REACT_DEVTOOLS_GLOBAL_HOOK__._renderers).length || window.React)`
4. Sorry I can't pinpoint more accurately, this is just so convoluted.

What is the expected behavior?
React would have nothing to do with my debugging experience, I'm not using it and breakpointing works usually - sometimes this happens though.

What went wrong?
Entered an infinite loop of: Make next breakpoint decision -> React Devtools VM tab opens with same contents.

Did this work before? Yes 

Chrome version: 58.0.3029.110  Channel: n/a
OS Version: OS X 10.12.5
Flash Version: 

I've had this happen a handful of times now, it began roughly a month ago.
 
Screen Shot 2017-06-19 at 10.00.03.png
292 KB View Download
Labels: Needs-Milestone
Cc: chenwilliam@chromium.org
Status: WontFix (was: Unconfirmed)
This sounds like an issue with React DevTools which is developed here (https://github.com/facebook/react-devtools). Are you sure the extension is disabled (chrome://extensions/) - make sure it's unchecked on that page? 

If you reproduce it with any non-React DevTools script, feel free to re-open this issue or open another issue.

Comment 3 by dan...@gmail.com, Jun 19 2017

Ok, will do. No, it's not disabled via extensions yet (will make that change), I was relying on the React DevTools auto-disable feature; it isn't supposed to do anything unless React is detected on the page I suppose.

Sign in to add a comment