From 56d071c10ca8016848f1f059aa3eb197fe928844 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 8 Dec 2016 11:22:37 +0200 Subject: rename SAL_DEBUG_TRACE to SAL_DEBUG_BACKTRACE since "trace" is such a generic term, this makes it easier to actually find the feature when you need it. And add feature to limit stack depth of the reported backtrace. Change-Id: Iab3e4ceb2e8480e7b5e2b920eb6c5d7631e21c43 Reviewed-on: https://gerrit.libreoffice.org/31752 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- sal/inc/misc.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sal/inc') diff --git a/sal/inc/misc.hxx b/sal/inc/misc.hxx index b93868e1baab..440c00ce2548 100644 --- a/sal/inc/misc.hxx +++ b/sal/inc/misc.hxx @@ -12,7 +12,7 @@ #include /// Build a debugging backtrace from current PC location. -rtl_uString *osl_backtraceAsString(void); +rtl_uString *osl_backtraceAsString(int maxNoStackFramesToDisplay); #endif // INCLUDED_SAL_INC_INTERNAL_MISC_H -- cgit