Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reverse/"Time Traveling" Debuggers for Javascript

There are several reverse debuggers for Java, .NET, C, and C++. Unless you count scattered references to using GDB with Javascript, I can't find any practical implementations. Is there a reason I cannot hookup GB in Eclipse or Intellij with Javascript?

like image 550
Indolering Avatar asked May 11 '26 09:05

Indolering


1 Answers

This video from Microsoft Research describes an experimental time-traveling debugger inside the next-generation Microsoft Edge web browser (as of May 2015, it is not public yet)

excerpt from John Vilk:

(it is a) new approach called interrogative virtualization whose primary goal is to efficiently capture application-level semantics in order to minimize the size of VM snapshots and event logs. By raising the abstraction level of the VMI to that of the application of interest, interrogative VMs can safely ignore large portions of architectural state in the OS and the hardware. As a concrete demonstration, we introduce JavaScript virtual machines ...

To demonstrate the utility of interrogative VMIs, we build MoveJS, a system that efficiently migrates the client-side of web applications across physical machines, and ReJS, a time-travel debugger for the browser.

This work is currently in submission.

like image 110
GnoStiC Avatar answered May 14 '26 01:05

GnoStiC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!