From 6b6567a53835d3e1879d0e167e7958ae20749721 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Tue, 18 Aug 2009 16:03:44 +0000 Subject: [PATCH] enhance debug message. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31120 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/DocIterator.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/DocIterator.cpp b/src/DocIterator.cpp index ec1f6b89cd..ecf1215828 100644 --- a/src/DocIterator.cpp +++ b/src/DocIterator.cpp @@ -92,7 +92,8 @@ Inset * DocIterator::nextInset() const if (pos() == lastpos()) return 0; if (pos() > lastpos()) { - LYXERR0("Should not happen, but it does. "); + LYXERR0("Should not happen, but it does: pos() = " + << pos() << ", lastpos() = " << lastpos()); return 0; } if (inMathed()) -- 2.39.2