curprocesshandle is needed and no gdb should also work