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