hpi-swa-lab / squeak-tracedebugger

A lightweight and interactive back-in-time debugger for Squeak to trace and retrace past method invocations and state changes. Powered by SimulationStudio.
https://hpi-swa-lab.github.io/squeak-tracedebugger/
MIT License
6 stars 0 forks source link

Efficient processing of queries for historic state changes #20

Closed LinqLover closed 2 years ago

LinqLover commented 2 years ago

Implement a retracing simulator with vector semantics for simultaneous evaluation against all memory states of interest. Allow the client to specify a relevant time window. Provide a search mode with different strategies (forward, backward, binary) with streaming of results.

LinqLover commented 2 years ago

[dump] Inefficient snippet for testing:

((0 to: self cursor maxTimeIndex) collect: [:time |
    (self cursor object: self selectedContext atTime: time) in: [:ctx |
        [(ctx receiver instVarNamed: 'stream') position]
            on: Error do: #description]])
                as: RunArray