Moin Max,
On 10/13/07 12:20, Maximilian Odendahl wrote:
I get the assertion "DbgLoopStack::Push: loop detected" from time to
time, although I cannot reproduce it constantly.
What exactly is this assertion telling me? Is DBG_MAX_LOOP just a random
number or is there some purpose behin it?
there are some (or I guess most of them) while loops in the text
formatting decorated with the DBG_LOOP macro. This macro expands to
DbgLoop aDbgLoop( this )
and basically checks for this situation:
Function A calls function B, which calls function C in a while loop. If
C then is called more then DBG_LOOP_MAX times by function B, before B
returns back to A, then you will get this assertion message. I would not
take this too serious. I discussed this with AMA and he told me that
this assertion is a relict from times we had to fight against infinite
loops in the text formatting.
Best regards,
Frank
--
Frank Meies (fme) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]