Discussion:
[chromium-discuss] Is it possible to provide an option to "disable debugger breakpoints in code"?
Lname Fname
2018-07-27 05:34:34 UTC
Permalink
Is it possible to provide an option to "disable debugger breakpoints in
code"?

In many cases, we will need to solve some JS confusion codes based on
debugger breakpoints, and I know "Deactivate breakpoint", but it will
disable all breakpoints instead of appointed breakpoints.

Once debugger is used skillfully in JS code, we will break into the
breakpoint cycle after we open the developer tools.

For example, this is the case.



setInterval(function(){
debugger;
}, 1000);





At this time, it is often necessary to extract the JS code for analysis, or
to modify and run on the original basis, which is a common method, but it
will be very laborious in the case of complex situations.

At the source, if we can disable the self - breakpoints in the code, the
'debugger' and 'debug' key words in the code will become invalid, and the
breakpoints we set on the code line still work, which will provide a very
good solution for this confusion.

Alternatively, the other is to change the two keywords of 'debugger' and
'debug', which make the breakpoints in the code invalid, and we can still
analyze the breakpoint of the code when we analyze it.

This is the two solution to solve the obfuscation code created by debugger.
I think the former one should be better, and I don't know whether this
solution can be realized?
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
Loading...