summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/gbuild-to-ide3
-rw-r--r--solenv/vs/.natstepfilter23
2 files changed, 26 insertions, 0 deletions
diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide
index ce89a979a1d0..8989a31c57cf 100755
--- a/bin/gbuild-to-ide
+++ b/bin/gbuild-to-ide
@@ -1015,6 +1015,9 @@ class VisualStudioIntegrationGenerator(IdeIntegrationGenerator):
# The natvis file gives pretty-printed variable values when debugging
natvis_path = os.path.join(gbuildparser.srcdir, 'solenv/vs/LibreOffice.natvis')
f.write('\t\t%(natvis)s = %(natvis)s\n' % {'natvis': natvis_path})
+ # The natstepfilter file allows to skip specific functions when stepping into in debugging
+ natstepfilter_path = os.path.join(gbuildparser.srcdir, 'solenv/vs/.natstepfilter')
+ f.write('\t\t%(natstepfilter)s = %(natstepfilter)s\n' % {'natstepfilter': natstepfilter_path})
f.write('\tEndProjectSection\n')
f.write('EndProject\n')
# Folders to group tests/libraries/executables
diff --git a/solenv/vs/.natstepfilter b/solenv/vs/.natstepfilter
new file mode 100644
index 000000000000..601c98121054
--- /dev/null
+++ b/solenv/vs/.natstepfilter
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<StepFilter xmlns="http://schemas.microsoft.com/vstudio/debugger/natstepfilter/2010">
+ <Function>
+ <Name>std::unique_ptr&lt;.*&gt;::operator-&gt;</Name>
+ <Action>NoStepInto</Action>
+ </Function>
+ <Function>
+ <Name>std::shared_ptr&lt;.*&gt;::operator-&gt;</Name>
+ <Action>NoStepInto</Action>
+ </Function>
+ <Function>
+ <Name>tools::SvRef&lt;.*&gt;::operator-&gt;</Name>
+ <Action>NoStepInto</Action>
+ </Function>
+ <Function>
+ <Name>com::sun::star::uno::Reference&lt;.*&gt;::operator-&gt;</Name>
+ <Action>NoStepInto</Action>
+ </Function>
+ <Function>
+ <Name>rtl::Reference&lt;.*&gt;::operator-&gt;</Name>
+ <Action>NoStepInto</Action>
+ </Function>
+</StepFilter> \ No newline at end of file