fix internal debugger memory handling (nw)