Would it be possible for the error handler to show the xml line number when errors occur when events like unknown action and others or where it was called from.. actions plugins etc?
Anything extra would be helpful I think.
Errors and help
-
-
Hi,
no, sorry, this is impossible,
the white-spaces (spaces, line-breaks, tabs, ...) are lost after the xml-loading, so it's not possible to determine the line or column of the code,best regards,
Klaus -
Hi!
May be show part of xml code error called from?
Is it possible?Andrey
for example
i write set(plugin[].alpha,1); - here missing name of plugin
when loading XML we see this error and show in debug window
set(plugin[].alpha,1);or just
plugin[]search of "plugin[]" willshow us place in code
-
Hi,
I will look for what is possible...
maybe I will make an additional 'debug' viewer version with advanced error checking and better error messages - detailed error checking code can make the viewer itself slower and bigger so having that checking and reporting code always in the viewer is also not the best way,best regards,
Klaus -
What about knowing what action or tag the error was created in?
Also, I think there should be an warning error generated for unexpected ending of loops. It's not a terribly big deal.
Counting occurances of "(" and ")" work too.
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!