Skip to content

Side by side debugging of two recordings of the same program #220

@HighCommander4

Description

@HighCommander4

One way I sometimes use rr is to replay two recordings simultaneously, stepping through each one in tandem to understand where/why they diverge in behaviour.

The two recordings are typically of the same binary, run on a different input file or with different runtime configuration options. This means that the two rr instances can be looking at the same source tree.

For command line usage, this is fairly straightforward to achieve, e.g. I just take the two recordings, and then run rr replay <trace> side by side in two different terminals.

I'm wondering how this workflow could translate to GUI usage with Midas. Is there some way to launch two replays in the same workspace? I understand this might be challenging due to VSCode limitations (e.g. only having one window per workspace), but I thought I'd ask.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions