]> git.lyx.org Git - features.git/commitdiff
enhance debug message.
authorJürgen Spitzmüller <spitz@lyx.org>
Tue, 18 Aug 2009 16:03:44 +0000 (16:03 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Tue, 18 Aug 2009 16:03:44 +0000 (16:03 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31120 a592a061-630c-0410-9148-cb99ea01b6c8

src/DocIterator.cpp

index ec1f6b89cd1fcd2bf3788797221005732935f320..ecf121582886c6a70ac810491d8570c3a7eb25fc 100644 (file)
@@ -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())