More work on data formatters
This commit is contained in:
@@ -1,26 +1,3 @@
|
||||
--- Engine/Extras/LLDBDataFormatters/UEDataFormatters_2ByteChars.py.orig 2026-04-12 22:58:33.989318455 -0400
|
||||
+++ Engine/Extras/LLDBDataFormatters/UEDataFormatters_2ByteChars.py 2025-11-10 23:34:18.481538118 -0500
|
||||
@@ -32,7 +32,7 @@
|
||||
if DataVal == 0:
|
||||
Val = 'NULL'
|
||||
else:
|
||||
- Expr = '(char16_t*)(%s)' % Data
|
||||
+ Expr = '(char16_t*)(%s)' % DataVal
|
||||
ValRef = valobj.CreateValueFromExpression('string', Expr)
|
||||
Val = ValRef.GetSummary()
|
||||
elif Type.IsReferenceType():
|
||||
@@ -47,6 +47,11 @@
|
||||
Expr = '(char16_t*)(%s)' % valobj.GetAddress()
|
||||
ValRef = valobj.CreateValueFromExpression('string', Expr)
|
||||
Val = ValRef.GetSummary()
|
||||
+ else:
|
||||
+ DataVal = valobj.GetValueAsUnsigned(0)
|
||||
+ Expr = '(char16_t)(%s)' % DataVal
|
||||
+ ValRef = valobj.CreateValueFromExpression('string', Expr)
|
||||
+ Val = ValRef.GetSummary()
|
||||
return Val
|
||||
|
||||
def UESignedCharSummaryProvider(valobj,dict):
|
||||
--- Engine/Plugins/Developer/VisualStudioCodeSourceCodeAccess/Source/VisualStudioCodeSourceCodeAccess/Private/VisualStudioCodeSourceCodeAccessor.cpp.orig 2026-04-12 22:58:34.075320964 -0400
|
||||
+++ Engine/Plugins/Developer/VisualStudioCodeSourceCodeAccess/Source/VisualStudioCodeSourceCodeAccess/Private/VisualStudioCodeSourceCodeAccessor.cpp 2026-04-12 23:03:40.139226303 -0400
|
||||
@@ -149,7 +149,7 @@
|
||||
|
||||
Reference in New Issue
Block a user