Skip to content

Commit

Permalink
xrCore/LocatorAPI.cpp: ignore .pdb, .ipdb and .iobj
Browse files Browse the repository at this point in the history
Add three more types to natvis
  • Loading branch information
Xottab-DUTY committed Apr 29, 2018
1 parent 3729f31 commit ba30686
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/TypeHelper.natvis
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,15 @@
<DisplayString>{NameObject.p_->value, s}, $(Type)</DisplayString>
</Type>

<Type Name="CLocatorAPI::file">
<DisplayString>{name, s}</DisplayString>
</Type>

<Type Name="CLocatorAPI::archive">
<DisplayString>{path, s}</DisplayString>
</Type>

<Type Name="FS_Path">
<DisplayString>{m_Path, s}</DisplayString>
</Type>
</AutoVisualizer>
6 changes: 6 additions & 0 deletions src/xrCore/LocatorAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,12 @@ bool ignore_name(const char* _name)
return true;
if (ENDS_WITH(".sln"))
return true;
if (ENDS_WITH(".pdb"))
return true;
if (ENDS_WITH(".ipdb"))
return true;
if (ENDS_WITH(".iobj"))
return true;
#undef ENDS_WITH
return false;
}
Expand Down

0 comments on commit ba30686

Please sign in to comment.