Skip to content

Commit

Permalink
Add a breakpoint block
Browse files Browse the repository at this point in the history
This block adds the "breakpoint" keyword, which pauses execution when
debugging an application.
  • Loading branch information
dylanmccall committed Sep 19, 2024
1 parent 760a579 commit 13a9228
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions addons/block_code/blocks/log/breakpoint.tres
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[gd_resource type="Resource" load_steps=2 format=3 uid="uid://bddy0d4xdv20c"]

[ext_resource type="Script" path="res://addons/block_code/code_generation/block_definition.gd" id="1_xva04"]

[resource]
script = ExtResource("1_xva04")
name = &"breakpoint"
target_node_class = ""
description = "Pause execution and show the current line of code in the debugger."
category = "Log"
type = 2
variant_type = 0
display_template = "Breakpoint"
code_template = "breakpoint"
defaults = {}
signal_name = ""
scope = ""

0 comments on commit 13a9228

Please sign in to comment.