Improve debugging info slightly.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30755 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-07-23 15:33:54 +00:00
parent df0801cf65
commit e5dfb57a9f

View File

@ -185,7 +185,10 @@ Buffer & Inset::buffer()
{ {
if (!buffer_) { if (!buffer_) {
odocstringstream s; odocstringstream s;
lyxerr << "LyX Code: " << lyxCode() << " name: " << insetName(lyxCode()) << std::endl; lyxerr << "Inset: " << this
<< " LyX Code: " << lyxCode()
<< " name: " << insetName(lyxCode())
<< std::endl;
s << "LyX Code: " << lyxCode() << " name: " << name(); s << "LyX Code: " << lyxCode() << " name: " << name();
LASSERT(false, /**/); LASSERT(false, /**/);
throw ExceptionMessage(BufferException, throw ExceptionMessage(BufferException,