mavor Posted January 1, 2010 Share Posted January 1, 2010 Hi everyone. Lately I had been building a script that is being run concurrently with multiple copies of itself. However, recently I have begun to get a crash (only when running more then one of the script at a time) and I would like to seek some help on how I can pinpoint where the crash is occuring. Are there any debug tools I could use to find where my script is crashing itself? Btw, this is a hard application crash, not a failure of the script itself. Every 5-20 minutes of concurrent running the autoit compiled exe will stop running and report that it has crashed. Thank you Link to comment Share on other sites More sharing options...
BrettF Posted January 1, 2010 Share Posted January 1, 2010 Have you got the FULL version of SciTE4AutoIt3? This is not the basic lite version that comes with the AutoIt installation, the link is in my sig. I'd install that and do a syntax check etc. Does the crash still occur when the script is ran uncompiled? If nothing shows up still you should move to doing hardcore error checking. E.G writing a log of every function that errors, that sort of thing. That will help you work out why it crashed... The last line is the last function to execute with an error... Another question is what is the function of this script? Can you post the script? Cheers, Brett Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
mavor Posted January 1, 2010 Author Share Posted January 1, 2010 (edited) Great ideas, I will try all of them and report back with my results. The script is being developed to watch over various values in multiple game application instances so that its easier to multi-box. **Edit: and as for the syntax check you mean "SyntaxCheck Prod" under tools right? I can't imagine coding something like this script without the full version of scite lol **Editedit: Ah and ... i thought it was impossible to run more then one script at a time if it is uncompiled? Am i wrong? Edited January 1, 2010 by mavor Link to comment Share on other sites More sharing options...
BrettF Posted January 1, 2010 Share Posted January 1, 2010 Game cheating protection is probably the answer.... Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
mavor Posted January 1, 2010 Author Share Posted January 1, 2010 Game cheating protection is probably the answer....Definatly not, i am 99.9% sure that game protection is not causing the hard autoIT crash. I can run with two scripts going concurrently indefinatly, but three or more eventually brings me to the crash. I seriously doubt that a game protection would decide to let two scripts run but as soon as a third one is running it shuts down (only one of them) : D Link to comment Share on other sites More sharing options...
ChrisL Posted January 1, 2010 Share Posted January 1, 2010 If your going to get any real help you'll need to post your code, it really could be anything causing the crash [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire 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