how to get more information about an error

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
rozek
Posts: 151
Joined: Mon Jun 19, 2006 2:29 pm
Contact:

how to get more information about an error

Post by rozek » Thu Jun 19, 2008 7:04 am

Hello!

Sorry for bothering you again: I'm currently testing a few stacks within the IDE (with "Script Debug Mode" enabled) getting a "can't find handler" error. That error is mentioned in the Message Box, but there is no hint neither which handler could not be found nor where that handler was invoked.

Is there any possibility to get that information? A simple "put the result" just returned empty; stepping or tracing through the whole code takes long (and requires a lot of concentration as the error can occur at any time and the debugger does not remain at the location where the error occurs :-( ) Trying to implement an "ErrorDialog" handler within a library stack was also not helpful (it does not get called)

Thanks in advance for any hints!
Kind regards,

Andreas Rozek

Bernard
Posts: 351
Joined: Sat Apr 08, 2006 10:14 pm

Post by Bernard » Fri Jun 20, 2008 11:39 am

Are you trying to call a function in the 'multi-line' message box? I've found that that does not work. You can call the function in the 'single-line' message box. I did try to debug the multi-line message box, but the debugger does not work when trying to work on that script :-(

Post Reply