diff --git a/editor/debugger/debug_adapter/debug_adapter_protocol.cpp b/editor/debugger/debug_adapter/debug_adapter_protocol.cpp index 3ee4899be23..4d64d0d75dd 100644 --- a/editor/debugger/debug_adapter/debug_adapter_protocol.cpp +++ b/editor/debugger/debug_adapter/debug_adapter_protocol.cpp @@ -1034,6 +1034,7 @@ void DebugAdapterProtocol::on_debug_paused() { void DebugAdapterProtocol::on_debug_stopped() { notify_exited(); notify_terminated(); + reset_ids(); } void DebugAdapterProtocol::on_debug_output(const String &p_message, int p_type) {