UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
VVMDebugger.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#if WITH_VERSE_VM || defined(__INTELLISENSE__)
6
10#include "VerseVM/VVMValue.h"
11
12namespace Verse
13{
14struct FLocation;
15struct FOp;
16struct VFrame;
17struct VUniqueString;
18
19struct FDebugger
20{
21 virtual ~FDebugger() = default;
22 virtual void Notify(FRunningContext, const FOp&, VFrame&, VTask&) = 0;
23 virtual void AddLocation(FAllocationContext, VUniqueString& FilePath, const FLocation&) = 0;
24 virtual void AddTask(FAccessContext, VTask&) = 0;
25};
26
28
30
31namespace Debugger
32{
34
35struct FFrame
36{
38 : Name{Context, &Name}
39 {
40 }
41
43 : Name{Context, &Name}
44 , FilePath{Context, &FilePath}
46 {
47 }
48
49 template <typename TVisitor>
50 friend void Visit(TVisitor& Visitor, FFrame& Value)
51 {
52 Visitor.Visit(Value.Name, TEXT("Name"));
53 Visitor.Visit(Value.FilePath, TEXT("FilePath"));
54 Visitor.Visit(Value.Registers, TEXT("Registers"));
55 }
56
60};
61
64 const FOp&,
65 VFrame&,
66 VTask&,
67 const FNativeFrame*,
68 TFunctionRef<void(const FLocation*, FFrame)>);
69} // namespace Debugger
70} // namespace Verse
71
72#endif
#define TEXT(x)
Definition Platform.h:1272
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
decltype(auto) Visit(Func &&Callable, Variants &&... Args)
Definition TVariant.h:271
UE_INTRINSIC_CAST UE_REWRITE constexpr std::remove_reference_t< T > && MoveTemp(T &&Obj) noexcept
Definition UnrealTemplate.h:520
Definition Array.h:670
Definition AssetRegistryState.h:50
@ Visitor
Definition XmppMultiUserChat.h:94
Definition Archive.h:36
Definition Stack.h:114