rudimentary debugger