summaryrefslogtreecommitdiff
path: root/db/pdfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'db/pdfile.cpp')
-rw-r--r--db/pdfile.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/db/pdfile.cpp b/db/pdfile.cpp
index 8603faeb29d..d2fb10b4140 100644
--- a/db/pdfile.cpp
+++ b/db/pdfile.cpp
@@ -47,6 +47,9 @@ int callDepth = 0;
extern int otherTraceLevel;
+/* this is a good place to set a breakpoint when debugging, as lots of warning things
+ (assert, wassert) call it.
+*/
void sayDbContext(const char *errmsg) {
if( errmsg ) {
problem() << errmsg << endl;