Is it possible to somehow trace any javascript code? Those. I want the JS engine that executes the code to not execute any command without my explicit instructions to execute it. Or maybe you can somehow get a log of the commands that the JS engine was running?
- Can you tell me why you need it? - Vadim Ovchinnikov
- oneI am sure that these critical functions should refer to the server .... so here on the server and track for correctness ........... but if, for example, you write the function of buying the user’s goods on the client money, but do not check the account balance on the server, then it will be a disaster ......... there is no sense to follow other non-critical things on the client, kmk - Alexey Shimansky
- oneWhat do you mean by "JS-engine"? - Sublihim
- @VadimOvchinnikov well, I just want to let you see how the JS code is executed on your favorite page on the Internet. I press something, some code is executed. If we draw an analogy with the processor, then I want to see how the JS code is executed on the JS "processor", which is installed in the browser. -
- one@abg in addition, if it is a V8, there is a Debugging Protocol - Sublihim
|