Skip to content

Commit 13a9228

Browse files
committed
Add a breakpoint block
This block adds the "breakpoint" keyword, which pauses execution when debugging an application.
1 parent 760a579 commit 13a9228

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[gd_resource type="Resource" load_steps=2 format=3 uid="uid://bddy0d4xdv20c"]
2+
3+
[ext_resource type="Script" path="res://addons/block_code/code_generation/block_definition.gd" id="1_xva04"]
4+
5+
[resource]
6+
script = ExtResource("1_xva04")
7+
name = &"breakpoint"
8+
target_node_class = ""
9+
description = "Pause execution and show the current line of code in the debugger."
10+
category = "Log"
11+
type = 2
12+
variant_type = 0
13+
display_template = "Breakpoint"
14+
code_template = "breakpoint"
15+
defaults = {}
16+
signal_name = ""
17+
scope = ""

0 commit comments

Comments
 (0)