This commit is contained in:
Matt Parker
2025-08-29 20:23:05 +10:00
parent 8fed581b52
commit a3e76ef2b0
9 changed files with 86 additions and 56 deletions

View File

@@ -1,7 +1,7 @@
using Godot;
using SharpIDE.Application.Features.Events;
using SharpIDE.Application.Features.SolutionDiscovery.VsPersistence;
using SharpIDE.Godot.Features.Run;
using SharpIDE.Godot.Features.Debug_.Tab;
namespace SharpIDE.Godot.Features.Debug_;

View File

@@ -1,52 +0,0 @@
[gd_scene format=3 uid="uid://bdu08nd7si641"]
[node name="ThreadsVariablesSubTab" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="HSplitContainer" type="HSplitContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
split_offset = 775
[node name="HSplitContainer" type="HSplitContainer" parent="HSplitContainer"]
layout_mode = 2
split_offset = 370
[node name="Panel" type="Panel" parent="HSplitContainer/HSplitContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="HSplitContainer/HSplitContainer/Panel"]
layout_mode = 0
offset_left = 12.0
offset_right = 52.0
offset_bottom = 23.0
text = "A"
[node name="Panel2" type="Panel" parent="HSplitContainer/HSplitContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="HSplitContainer/HSplitContainer/Panel2"]
layout_mode = 0
offset_left = 12.0
offset_right = 52.0
offset_bottom = 23.0
text = "B"
[node name="Panel3" type="Panel" parent="HSplitContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="HSplitContainer/Panel3"]
layout_mode = 0
offset_left = 12.0
offset_right = 52.0
offset_bottom = 23.0
text = "C"

View File

@@ -2,9 +2,9 @@ using GDExtensionBindgen;
using Godot;
using SharpIDE.Application.Features.SolutionDiscovery.VsPersistence;
namespace SharpIDE.Godot.Features.Debug_;
namespace SharpIDE.Godot.Features.Debug_.Tab;
public partial class DebugPanelTab : Panel
public partial class DebugPanelTab : Control
{
private Terminal _terminal = null!;
private Task _writeTask = Task.CompletedTask;

View File

@@ -3,7 +3,8 @@
[ext_resource type="Script" uid="uid://b6gq81odfn8ok" path="res://Features/Debug_/DebugPanelTab/DebugPanelTab.cs" id="1_yinwn"]
[ext_resource type="PackedScene" uid="uid://bdu08nd7si641" path="res://Features/Debug_/DebugPanelTab/SubTabs/ThreadsVariablesSubTab.tscn" id="2_0jpwf"]
[node name="DebugPanelTab" type="Panel"]
[node name="DebugPanelTab" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0

View File

@@ -0,0 +1,15 @@
[gd_scene format=3 uid="uid://1bbofax8nht1"]
[node name="ThreadListItem" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="."]
layout_mode = 0
offset_right = 40.0
offset_bottom = 23.0
text = "Thread Name"

View File

@@ -0,0 +1,8 @@
using Godot;
namespace SharpIDE.Godot.Features.Debug_.Tab.SubTabs;
public partial class ThreadsVariablesSubTab : Control
{
}

View File

@@ -0,0 +1 @@
uid://dpc4fvj40e5il

View File

@@ -0,0 +1,57 @@
[gd_scene load_steps=3 format=3 uid="uid://bdu08nd7si641"]
[ext_resource type="Script" uid="uid://dpc4fvj40e5il" path="res://Features/Debug_/DebugPanelTab/SubTabs/ThreadsVariablesSubTab.cs" id="1_eohaj"]
[ext_resource type="PackedScene" uid="uid://1bbofax8nht1" path="res://Features/Debug_/DebugPanelTab/SubTabs/ThreadListItem.tscn" id="1_ns3r7"]
[node name="ThreadsVariablesSubTab" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_eohaj")
[node name="HSplitContainer" type="HSplitContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
split_offset = 775
[node name="HSplitContainer" type="HSplitContainer" parent="HSplitContainer"]
layout_mode = 2
split_offset = 370
[node name="ThreadsPanel" type="Panel" parent="HSplitContainer/HSplitContainer"]
layout_mode = 2
[node name="VBoxContainer" type="VBoxContainer" parent="HSplitContainer/HSplitContainer/ThreadsPanel"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="ThreadListItem" parent="HSplitContainer/HSplitContainer/ThreadsPanel/VBoxContainer" instance=ExtResource("1_ns3r7")]
layout_mode = 2
[node name="StackFramesPanel" type="Panel" parent="HSplitContainer/HSplitContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="HSplitContainer/HSplitContainer/StackFramesPanel"]
layout_mode = 0
offset_left = 12.0
offset_right = 52.0
offset_bottom = 23.0
text = "B"
[node name="VariablesPanel" type="Panel" parent="HSplitContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="HSplitContainer/VariablesPanel"]
layout_mode = 0
offset_left = 12.0
offset_right = 52.0
offset_bottom = 23.0
text = "C"