modificata debug gui