Restore persistent session does not work if whatToTrace is a macro
Persitent data are restored in setSessionInfo, which occurs before setMacro, so we cannot recover persistent data if whatToTrace is a macro.
We should maybe add a process step 'setPersistentSessionInfo', juste before the step 'store'.