Champak Posted February 10, 2009 Share Posted February 10, 2009 (edited) I sometimes get an AutoIt error message(window) while running my script. But I get no error messages within the console of Scite. How can I trace what is causing the autoit error window? Edited February 10, 2009 by Champak Link to comment Share on other sites More sharing options...
martin Posted February 10, 2009 Share Posted February 10, 2009 I sometimes get an AutoIt error message(window) while running my script. But I get no error messages within the console of Scite. How can I trace what is causing the autoit error window?What is in the error window? Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Champak Posted February 10, 2009 Author Share Posted February 10, 2009 I would have put an image of it, but it is so sporadic I can't readily reproduce it. I didn't know different things would be in it, I thought it was just one standard thing...besides the long technical stuff once you click the info link. Next time I see it I'll update this topic. Link to comment Share on other sites More sharing options...
Authenticity Posted February 10, 2009 Share Posted February 10, 2009 (edited) It's probably a logical error if this is the case and turning #AutoIt3Wrapper_Run_Debug_Mode=Y will enable you to inspect the line, @error and @extended macros and the current line syntax. Edited February 10, 2009 by Authenticity Link to comment Share on other sites More sharing options...
MrCreatoR Posted February 11, 2009 Share Posted February 11, 2009 It's probably a hard crash, provide some reproducing code so we can see what wrong there. Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team Link to comment Share on other sites More sharing options...
Champak Posted February 11, 2009 Author Share Posted February 11, 2009 Here are the images of the error window...as MRCreator said, I think this is a hard crash. I can't really provide reproducing code to solve this as this is a 20,000+ line script with multiple functions on timers which activates multiple other functions, besides the functions I am actively activating at any given time...see my dilemma? So unless you would really like to dive into deciphering the entire app, providing snippet of the code wouldn't really lead anywhere because I don't know what out of the 100 or so functions is causing this sporadic, unpredictable hard crash. #AutoIt3Wrapper_Run_Debug_Mode=Y seems like a good start, unless any other suggestions. I haven't been able to test it yet because upon starting the script it seems to fail with any coding that carries to the next line using "_". So I have to go and edit all of those pieces of code so the app can actually start. My question is, do I get the same console writing in scite while the app is running or only upon launch? Because if it is only upon launch, I don't think this will help me.Thanks. Link to comment Share on other sites More sharing options...
Bert Posted February 11, 2009 Share Posted February 11, 2009 Does this happen on different machines, or just your PC? The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Champak Posted February 11, 2009 Author Share Posted February 11, 2009 That I didn't test...I'll check that. Link to comment Share on other sites More sharing options...
Champak Posted February 12, 2009 Author Share Posted February 12, 2009 #AutoIt3Wrapper_Run_Debug_Mode=Y doesn't work, because although I can't activate any functions, the script doesn't seem to actually stop when the error pops up; it is still printing things out in scite while the error screen is up with everything frozen, then when I close the error window the script exits.FOR NOW the problem only seems to be happening on my laptop. I only tested it out on one of my other computers, and the error hasn't popped up yet. So it seems to be isolated for now. Will be back if the error happens on any other computer. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now