We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5fc942 commit 6f161f1Copy full SHA for 6f161f1
Assets/Scripts/Language/Debugger.gd
@@ -38,6 +38,7 @@ enum MESSAGE {
38
SNIPPET_END,
39
BREAK,
40
RESUME,
41
+ STOP
42
}
43
44
# Emitted when the state of the debugger changes.
@@ -219,6 +220,8 @@ func OnServerDataReceived(Data: String) -> void:
219
220
match (Type):
221
MESSAGE.RESUME:
222
Runtime.Resume()
223
+ MESSAGE.STOP:
224
+ Runtime.Stop()
225
226
227
func OnClientDataReceived(Data: String) -> void:
@@ -261,3 +264,7 @@ func OnBreak_Server(Line: int) -> void:
261
264
func Resume() -> void:
262
265
DispatchToServer(MESSAGE.RESUME, "")
263
266
267
+
268
+func Stop() -> void:
269
+ DispatchToServer(MESSAGE.STOP, "")
270
0 commit comments