Skip to content

Add commands to explicitly start and stop diversions #1622

@bgirard

Description

@bgirard

I'm trying to intentionally diverge from a replay by tweaking a variable but I get the following error:
Attempt to write memory outside diversion session

I did some searches online and just found roc' blog:
http://robert.ocallahan.org/2014/09/rr-20-released.html

It seems you can diverge for 'call' but not 'set'.

Ideally I'd like to do something like this:
diversion start
set shouldPrint = true
cont
<...>
diversion end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions