Z
Z
Zakharov Alexander2016-12-30 09:39:07
JavaScript
Zakharov Alexander, 2016-12-30 09:39:07

Chrome devtools. It was possible to launch the debugger from the function entry point. Can't find or disabled?

Hello.
Some time ago (maybe half a year, maybe a year) I noticed that when debugging in Crome DevTools, you can make changes to the code of the function "on the fly" and the debugger "unwinds" the execution at the moment you enter this function. Then I didn’t use it for some time, but today I remembered this convenient “thing” and here’s a failure - the debugger doesn’t want to work this way today (Workspace is configured normally) and works a little differently - when saving the source code during step-by-step debugging, it opens a new tab with the old text and sends to work there. Like "and I will only allow debugging old code." Maybe it was one of the experimental "features"?
Chrome 55 (current version for today), Windows 8.1.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
Zakharov Alexander, 2016-12-30
@AlexZaharow

Found something funny:
This feature does not work if I am editing code that is not loaded as .js, but is embedded in the .html page. If the file with the code is in a separate .js file, then you can make changes on the fly and the debugger rewinds back.
The mood got better!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question