Hacker News new | past | comments | ask | show | jobs | submit login

Can someone explain me this, please:

-Break on subtree modifications - delete me

Thanks!




Ok, I understood this,

1- Right click on the element

2- Select "Break On..."

3- For this example, check "Node Removal"

4- Click 'delete me' :)

5- Use the call stack to see where the removal comes from.

Useful link: Google IO session about this: http://danesparza.net/2011/06/a-re-introduction-to-the-chrom...


This is a part of live js "pause" feature. Basically chrome (and other browsers too) allow you to pause live js execution. What this "break on..." means is that whenever the element or any of it's children is modified (in html) the js execution should break (as in create a breakpoint) so that we can see what triggered the change.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: