mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-22 17:48:01 +02:00
Embedded string view in watch window, series watch format
This commit is contained in:
parent
c925d7ccc2
commit
1b9e0490f2
13 changed files with 521 additions and 116 deletions
|
@ -1923,9 +1923,12 @@ namespace IDE
|
|||
DebugManager.IntDisplayType intDisplayType;
|
||||
DebugManager.MmDisplayType mmDisplayType;
|
||||
DebugManager.FloatDisplayType floatDisplayType;
|
||||
mDebugger.GetDisplayTypes(referenceId, out intDisplayType, out mmDisplayType, out floatDisplayType);
|
||||
String formatStr = scope .();
|
||||
mDebugger.GetDisplayTypes(referenceId, formatStr, out intDisplayType, out mmDisplayType, out floatDisplayType);
|
||||
using (sd.CreateObject(referenceId))
|
||||
{
|
||||
if (!formatStr.IsEmpty)
|
||||
sd.Add("FormatStr", formatStr);
|
||||
sd.ConditionalAdd("IntDisplayType", intDisplayType);
|
||||
sd.ConditionalAdd("MmDisplayType", mmDisplayType);
|
||||
sd.ConditionalAdd("FloatDisplayType", floatDisplayType);
|
||||
|
@ -3310,11 +3313,13 @@ namespace IDE
|
|||
var referenceIdStr = scope String(referenceId);
|
||||
if (referenceIdStr.Length == 0)
|
||||
referenceIdStr = null;
|
||||
|
||||
|
||||
String formatStr = scope .();
|
||||
data.GetString("FormatStr", formatStr);
|
||||
var intDisplayType = data.GetEnum<DebugManager.IntDisplayType>("IntDisplayType");
|
||||
var mmDisplayType = data.GetEnum<DebugManager.MmDisplayType>("MmDisplayType");
|
||||
var floatDisplayType = data.GetEnum<DebugManager.FloatDisplayType>("FloatDisplayType");
|
||||
mDebugger.SetDisplayTypes(referenceIdStr, intDisplayType, mmDisplayType, floatDisplayType);
|
||||
mDebugger.SetDisplayTypes(referenceIdStr, formatStr, intDisplayType, mmDisplayType, floatDisplayType);
|
||||
}
|
||||
|
||||
for (data.Enumerate("StepFilters"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue