Skip to content

Commit 8936b2a

Browse files
committed
cleanup
1 parent ab841f7 commit 8936b2a

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

gamedev/unreal/get-started/vs-tools-unreal-blueprint-debugger.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ The Visual Studio Blueprint debugger support provides:
3131

3232
Run the Visual Studio Installer to ensure you have the required components installed to debug Unreal Engine Blueprints. For more information on installing Visual Studio Tools for Unreal Engine, see [Get started with Visual Studio Tools for Unreal Engine](vs-tools-unreal-quickstart.md).
3333

34-
On the **Workloads** pane, make sure the **Game development with C++** workload is installed:
34+
1. On the **Workloads** pane, make sure the **Game development with C++** workload is installed:
3535

3636
:::image type="content" source="../media/vs-installer-unreal-engine-workload.png" alt-text="Screenshot of the Visual Studio installer. The Game development with C++ workload is selected. In the installation details pane, Visual Studio Tools for Unreal Engine, Visual Studio debugger tools for Unreal Engine Blueprints, HSL Tools, And Windows 11 SDK are selected." lightbox="../media/vs-installer-unreal-engine-workload.png":::
3737

38-
On the **Individual components** pane, also make sure the Visual Studio debugger tools for Unreal Engine Blueprints is installed:
38+
1. On the **Individual components** pane, also make sure the Visual Studio debugger tools for Unreal Engine Blueprints is installed:
3939

4040
:::image type="content" source="../media/vs-unreal-engine-install-blueprints-debug-tools.png" alt-text="Screenshot of the Visual Studio installer Individual components pane. Visual Studio debugger tools for Unreal Engine Blueprints is selected.":::
4141

@@ -46,9 +46,13 @@ Install debug symbols for each version of Unreal Engine you debug with Visual St
4646
1. Open the **Epic Games Launcher**.
4747
1. Go to the **Unreal Engine** pane on the left and the **Library** pane at the top.
4848
1. Select the dropdown menu for your engine version, then choose **Options**:
49-
:::image type="content" source="../media/unreal-engine-options.png" alt-text="Screenshot of the Epic Games installer. The Launch dropdown is selected and Options is highlighted.":::
49+
50+
:::image type="content" source="../media/unreal-engine-options.png" alt-text="Screenshot of the Epic Games installer. The Launch dropdown is selected and Options is highlighted.":::
51+
5052
1. In the options dialog, select **Editor symbols for debugging**:
51-
:::image type="content" source="../media/unreal-engine-editor-symbols-for-debugging.png" alt-text="Screenshot of the Epic Games installation options. Editor symbols for debugging is selected.":::
53+
54+
:::image type="content" source="../media/unreal-engine-editor-symbols-for-debugging.png" alt-text="Screenshot of the Epic Games installation options. Editor symbols for debugging is selected.":::
55+
5256
1. Select **Apply**, then wait for the download to finish.
5357

5458
## Set up a test project
@@ -57,7 +61,9 @@ To test the Blueprint debugger functionality, create a project that uses Bluepri
5761

5862
1. Open the Unreal Engine Editor and create a new **First Person Shooter** project.
5963
1. Ensure that **C++** is selected:
64+
6065
:::image type="content" source="../media/unreal-engine-new-project-first-person.png" alt-text="Screenshot of the Unreal Engine editor new project dialog. First Person is selected, and the BlueEpic Games installation options. Editor symbols for debugging is selected.":::
66+
6167
1. After creating the project, close all Unreal Editor instances.
6268
1. Open the generated Visual Studio solution file (*.sln*).
6369

@@ -68,9 +74,9 @@ Follow these steps to set a breakpoint, inspect a Blueprint function, and view i
6874
1. In Visual Studio, locate the `AttachWeapon` method in your weapon component class. For example, if you named your project `FirstPerson`, the function is in `FirstPersonWeaponComponent.cpp`.
6975
1. Add a breakpoint at the start of the `AttachWeapon` method. This method is called when the player picks up a weapon in the game:
7076

71-
:::image type="content" source="../media/vs-unreal-engine-attach-weapon-breakpoint.png" alt-text="Screenshot of the AttachWeapon() function in Visual Studio. A breakpoint is on the first line of the function.":::
77+
:::image type="content" source="../media/vs-unreal-engine-attach-weapon-breakpoint.png" alt-text="Screenshot of the AttachWeapon function in Visual Studio. A breakpoint is on the first line of the function." lightbox="..media/vs-unreal-engine-attach-weapon-breakpoint.png:::
7278

73-
1. In the Visual Studio Solution Configuration dropdown, select **Development Editor**:
79+
1. In the Visual Studio **Solution Configuration** dropdown, select **Development Editor**:
7480

7581
:::image type="content" source="../media/vs-unreal-engine-select-configuration.png" alt-text="Screenshot of the Visual Studio solution configuration dropdown. Development Editor is selected.":::
7682

@@ -79,12 +85,12 @@ Follow these steps to set a breakpoint, inspect a Blueprint function, and view i
7985
1. In the running game, press the <kbd>W</kbd> key to move forward until you collide with the weapon and trigger the breakpoint.
8086
1. When the breakpoint is hit, examine the **Call Stack** window. Blueprint stack frames appear among your C++ stack frames:
8187

82-
:::image type="content" source="../media/vs-unreal-engine-blueprint-call-stack.png" alt-text="Screenshot of the callstack window in Visual Studio. The breakpoint in AttachWeapon() is at the top of the callstack. Two Blueprint entries are highlight in the callstack for BP_PickUp_Rifle::ExecuteUbergraph_BP_PickUp_Rifle and BP_PickUp_Rifle::BndEvt___BP_PickUp_Rifle_TP_PickUp_K2Node_ComponentBoundEvent_1_OnPickUp_DelegateSignature.":::
88+
:::image type="content" source="../media/vs-unreal-engine-blueprint-call-stack.png" alt-text="Screenshot of the callstack window in Visual Studio. The breakpoint in AttachWeapon is at the top of the callstack. Two Blueprint entries are highlight in the callstack for BP_PickUp_Rifle::ExecuteUbergraph_BP_PickUp_Rifle and BP_PickUp_Rifle::BndEvt___BP_PickUp_Rifle_TP_PickUp_K2Node_ComponentBoundEvent_1_OnPickUp_DelegateSignature." lightbox="../media/vs-unreal-engine-blueprint-call-stack.png":::
8389

8490
1. Double-click the first Blueprint frame in the call stack.
8591
1. Open the **Locals** window to view the variables associated with the Blueprint node. You can see the values of the Blueprint node pins:
8692

87-
:::image type="content" source="../media/vs-unreal-engine-blueprint-locals-node-pins.png" alt-text="Screenshot of the locals window in Visual Studio. Blueprint information > Node Pins > Available pins is expanded to show the values of the Blueprint such as the EntryPoint, PickUpCharacter, HasRifle, and more.":::
93+
:::image type="content" source="../media/vs-unreal-engine-blueprint-locals-node-pins.png" alt-text="Screenshot of the locals window in Visual Studio. Blueprint information > Node Pins > Available pins is expanded to show the values of the Blueprint such as the EntryPoint, PickUpCharacter, HasRifle, and more." lightbox="../media/vs-unreal-engine-blueprint-locals-node-pins.png":::
8894

8995
## Summary
9096

gamedev/unreal/get-started/vs-tools-unreal-install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Follow these steps to install the tools:
5252
1. Ensure that under **Optional** that **Windows 10 SDK 10.0.18362.0**, or higher, is selected.
5353
1. Select **Modify** to complete the installation.
5454

55-
:::image type="content" source="../media/vs-unreal-workload.png" alt-text="Screenshot of the Visual Studio installer. The Game development with C++ workload is selected. In the installation details pane, Visual Studio Tools for Unreal Engine, Visual Studio debugger tools for Unreal Engine Blueprints, HSL Tools, And Windows 11 SDK are selected." lightbox="../media/unreal-workload.png":::
55+
:::image type="content" source="../media/vs-installer-unreal-engine-workload.png" alt-text="Screenshot of the Visual Studio installer. The Game development with C++ workload is selected. In the installation details pane, Visual Studio Tools for Unreal Engine, Visual Studio debugger tools for Unreal Engine Blueprints, HSL Tools, And Windows 11 SDK are selected." lightbox="../media/vs-installer-unreal-engine-workload.png":::
5656

5757
## Check for updates
5858

0 commit comments

Comments
 (0)