imgui.natstepfilter 1.4 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!--
  3. .natstepfilter file for Visual Studio debugger.
  4. Purpose: instruct debugger to skip some functions when using StepInto (F11)
  5. Since Visual Studio 2022 version 17.6 Preview 2 (currently available as a "Preview" build on March 14, 2023)
  6. It is possible to add the .natstepfilter file to your project file and it will automatically be used.
  7. (https://developercommunity.visualstudio.com/t/allow-natstepfilter-and-natjmc-to-be-included-as-p/561718)
  8. For older Visual Studio version prior to 2022 17.6 Preview 2:
  9. * copy in %USERPROFILE%\Documents\Visual Studio XXXX\Visualizers (current user)
  10. * or copy in %VsInstallDirectory%\Common7\Packages\Debugger\Visualizers (all users)
  11. If you have multiple VS version installed, the version that matters is the one you are using the IDE/debugger
  12. of (not the compiling toolset). This is supported since Visual Studio 2012.
  13. More information at: https://docs.microsoft.com/en-us/visualstudio/debugger/just-my-code?view=vs-2019#BKMK_C___Just_My_Code
  14. -->
  15. <StepFilter xmlns="http://schemas.microsoft.com/vstudio/debugger/natstepfilter/2010">
  16. <!-- Disable stepping into trivial functions -->
  17. <Function>
  18. <Name>(ImVec2|ImVec4|ImStrv)::.+</Name>
  19. <Action>NoStepInto</Action>
  20. </Function>
  21. <Function>
  22. <Name>(ImVector|ImSpan).*::operator.+</Name>
  23. <Action>NoStepInto</Action>
  24. </Function>
  25. </StepFilter>