add stackFrame argument to handleThreadEvent to cope with cpp.vm.Debugger changes