Skip to content

Commit ba30686

Browse files
committed
xrCore/LocatorAPI.cpp: ignore .pdb, .ipdb and .iobj
Add three more types to natvis
1 parent 3729f31 commit ba30686

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

src/TypeHelper.natvis

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,15 @@
4444
<DisplayString>{NameObject.p_->value, s}, $(Type)</DisplayString>
4545
</Type>
4646

47+
<Type Name="CLocatorAPI::file">
48+
<DisplayString>{name, s}</DisplayString>
49+
</Type>
50+
51+
<Type Name="CLocatorAPI::archive">
52+
<DisplayString>{path, s}</DisplayString>
53+
</Type>
54+
55+
<Type Name="FS_Path">
56+
<DisplayString>{m_Path, s}</DisplayString>
57+
</Type>
4758
</AutoVisualizer>

src/xrCore/LocatorAPI.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,12 @@ bool ignore_name(const char* _name)
511511
return true;
512512
if (ENDS_WITH(".sln"))
513513
return true;
514+
if (ENDS_WITH(".pdb"))
515+
return true;
516+
if (ENDS_WITH(".ipdb"))
517+
return true;
518+
if (ENDS_WITH(".iobj"))
519+
return true;
514520
#undef ENDS_WITH
515521
return false;
516522
}

0 commit comments

Comments
 (0)