diff --git a/editor/debugger/debug_adapter/debug_adapter_protocol.cpp b/editor/debugger/debug_adapter/debug_adapter_protocol.cpp index ba4c078d7e..00ae9dca7e 100644 --- a/editor/debugger/debug_adapter/debug_adapter_protocol.cpp +++ b/editor/debugger/debug_adapter/debug_adapter_protocol.cpp @@ -1032,6 +1032,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) {