I sure would like to see some basic script logging as described in http://mantis.sqlnotes.net/view.php?id=174. Having things just silently fail when trying to do equations keeps pushing me away from IQ.
d
Comments
I agree. This makes VB scripting very hard to debug at times. This is also true for Equations. Just omit some parentheses somewhere, and it fails silently. :(
This is true. It is possible to install a Microsoft script debugger which help identify errors.
3 years ago, I looked into purchasing VBA for IQ, but MS had stopped selling for, just a few months before and is now only selling a .NET equivalent. Since .NET future is unclear, to me at least (and others, e.g. recent EN 4 going back to COM), I hope they'll come up with a new COM based "VBA" which IQ could use.
This is true. It is possible to install a Microsoft script debugger which help identify errors.
3 years ago, I looked into purchasing VBA for IQ, but MS had stopped selling for, just a few months before and is now only selling a .NET equivalent. Since .NET future is unclear, to me at least (and others, e.g. recent EN 4 going back to COM), I hope they'll come up with a new COM based "VBA" which IQ could use.
[/quote]
This is all very interesting... I doubt they'll come back to VB6 though...
Could you at least add some basic logging somewhere? Just log all script issues to a file, that would help immensely by itself. That is all http://mantis.sqlnotes.net/view.php?id=174 is asking for.
I have "activate error log", "log function calls", function call stack at 6, and "show errors and warnings on the status bar" , but all I see is an occasional red message in the status bar without enough info to know what it is complaining about.
In terms of using the script debugger you have mentioned it before, but I have never been able to figure out how to make it work. See this thread also asking how to use it also. If you could give us the steps to debug a sample equation using the script debugger that would be very helpful.
[quote]I have "activate error log", "log function calls", function call stack at 6, and "show errors and warnings on the status bar" , but all I see is an occasional red message in the status bar without enough info to know what it is complaining about.[/quote]
Hi Dave--
I came across this thread because I was trying to figure out where the error log is stored. Then I found the information here --- ErrorLog.txt is stored in the user file. You probably are already aware of this, but I'm mentioning here just for good measure.
Also note that, from what I can tell, the log gets cleared whenever you do a database repair. (Perhaps that could be mentioned somewhere in the manual too... )
Comments