Page 2 of 2

Posted: Sat Aug 30, 2008 7:01 pm
by Periculi
dbgLog crashes on me when I try (dbgLog (sysGlobals))

I wanted to take a look at the globals, and there is (sysGlobals) which outputs them, when used in dbgConsole it runs off the console, so I thought to try outputting the list to dbgLog- and get only crashing. :(

Then I tried filtering the list a little, but no luck.

Posted: Sat Aug 30, 2008 8:06 pm
by Betelgeuse
I can confirm it is crashing
maybe enuming them and outputting the individual elements would help.

Posted: Sat Aug 30, 2008 8:09 pm
by Periculi
I tried just getting the first 20 on the list returned and it still crashed with dbgLog. Maybe I can get them to output to console in chunks that don't go off the console panel.

Posted: Sat Aug 30, 2008 8:11 pm
by Betelgeuse
I don't know if it will help but this is the list that I used to make the function help list.

Code: Select all

			(setq functionLog (lambda nil
				(block nil
					(enum (sysGlobals) i
						(block (symbol)
							(setq symbol (eval (link i)))
							(if (isfunction symbol)
								(block (helpText)
									(setq helpText (fncHelp symbol))
									(if helpText
										(dbgLog helpText)
										(dbgLog "(" i " ...)")
					(dbgOutput "Success")

Posted: Sun Aug 31, 2008 2:01 am
by Betelgeuse
I found that dbgLog crashes if you have a string longer than 1003 characters