debug session helper + memory adapter + error