summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-01-19 17:10:43 +0600
committerMike Kaganski <mike.kaganski@collabora.com>2024-01-19 14:22:17 +0100
commit1be5adecafd1ba0aa6bc278ce3221646193030a2 (patch)
treed63a708bdc90d735ef3dbf539949ceda16da100b /bin
parent56ceb5db4eb3243d02c56c8cf21522d0373c28a9 (diff)
Add a natstepfilter file to Visual Studio solution
Allows to avoid stepping into some functions, like smart pointer's operator->(), when debugging. Change-Id: Ia930ad6b0c94c9caefad8ac026252fced1265fb4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162304 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gbuild-to-ide3
1 files changed, 3 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