Non-intrusive debugging