Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix inability to build solution in Windows
  • Loading branch information
Gabrielle Chen committed Jan 30, 2023
commit 7161bd3249cf2c6f59668348cd776b423d8b6714
4 changes: 2 additions & 2 deletions src/AndroidDebugLauncher/Launcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -459,8 +459,8 @@ private LaunchOptions SetupForDebuggingWorker(CancellationToken token)

launchOptions.DebuggerMIMode = MIMode.Gdb;

launchOptions.VisualizerFile = new List<string>();
launchOptions.VisualizerFile.Add("Microsoft.Android.natvis");
launchOptions.VisualizerFiles = new List<string>();
launchOptions.VisualizerFiles.Add("Microsoft.Android.natvis");
launchOptions.WaitDynamicLibLoad = _launchOptions.WaitDynamicLibLoad;

return launchOptions;
Expand Down
6 changes: 2 additions & 4 deletions test/CppTests/Tests/NatvisTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ public void TestMultipleNatvisFiles(ITestSettings settings)
{
IFrameInspector currentFrame = threadInspector.Stack.First();

// Simple1.natvis
this.Comment("Verifying ArrayItems natvis");
var ll = currentFrame.GetVariable("vec");
Assert.Equal("{ size=2000 }", ll.Value);
Expand All @@ -521,10 +522,7 @@ public void TestMultipleNatvisFiles(ITestSettings settings)
Assert.Equal("20", ll.GetVariable("[5]").Value);
Assert.Equal("51", ll.GetVariable("[More...]").GetVariable("[51]").Value);

// Multi-dimensional array
var matrix = currentFrame.GetVariable("matrix");
Assert.Equal("3", matrix.GetVariable("[1,1]").Value);

// Simple2.natvis
this.Comment("Verifying TreeItems natvis");
var map = currentFrame.GetVariable("map");

Expand Down