Comments (8)
Yea I really want this but we can't. Want to add a feature request to the Chrome team to expose source url/line number of functions to DevTools extensions.
from react-devtools.
Yes this is really essential for ease of debugging. Any progress?
from react-devtools.
No progress, would love to have some more people involved to make this happen.
from react-devtools.
Is this now possible inside Chrome?
Op 7 jul. 2014 22:48 schreef "Paul O’Shannessy" [email protected]:
No progress, would love to have some more people involved to make this
happen.—
Reply to this email directly or view it on GitHub
#21 (comment)
.
from react-devtools.
Ah sorry, I misread @sebmarkbage's comment. I have no idea if it's possible.
from react-devtools.
Update: still not possible
from react-devtools.
This is actually possible, but only if the function isn't "bound" (via .bind
). And in my experience, handlers are often bound.
The way to do it is to inspect(thefn)
from the console and then it will switch you to the sources tab.
There's not first-class access to source filenames and lines though :(
from react-devtools.
I think this is as good as we're likely to get, and with the additional ability to "jump to source" of a component, I think that the needs here are met.
Feel free to comment here if there are still things missing.
from react-devtools.
Related Issues (20)
- Can't install in Firefox HOT 1
- Expand all elements using default browser hot keys HOT 1
- Security issues with React.Provider HOT 5
- Search input text colour HOT 4
- Is it unmaintainable? HOT 1
- React App not Functioning with Extension Enabled HOT 1
- Having the devtools extension enabled breaks Kibana HOT 3
- New devtools is not compatible with React 0.14 HOT 5
- New Devtools: Where is Highlight Updates? HOT 5
- New Devtools Broken on Firefox 68.0.2, Windows 10 HOT 1
- React Devtools - Component selection bug v4 HOT 1
- Remove emoji from browser devtools tabs HOT 2
- New Devtools: Update props does not rerender component HOT 2
- Inspector: clicking on element with style object value causes crash HOT 1
- Firefox Private Browser Support HOT 1
- Show component file path HOT 1
- Long interaction names cannot be seen HOT 1
- Getting maximum call stack exceeded on backend.js when rendering many elements. HOT 2
- Using react-devtools to inspect component that only appears on hover HOT 1
- React devtools 4.0.4 (8/18/2019) Expected to find root ID. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-devtools.