tonycst Posted April 30, 2018 Share Posted April 30, 2018 If script has no built in log or is already compiled, if there is a crash, it will say what line crash has accrued, but that line number does not reflect the line number in the editor. How do i go about finding out what line of code caused the crash if script is compiled ? Thanks ! Link to comment Share on other sites More sharing options...
Developers Jos Posted April 30, 2018 Developers Share Posted April 30, 2018 Use au3stripper with option /mo to merge all source into one file giving you the appropriate line. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
tonycst Posted May 1, 2018 Author Share Posted May 1, 2018 (edited) Ah thanks ! Needed to enable the stripper and add /soi to the parameter. It creates backup of the script as well as one for debugging with every source file in it. Edited May 1, 2018 by tonycst Link to comment Share on other sites More sharing options...
Developers Jos Posted May 1, 2018 Developers Share Posted May 1, 2018 Your script doesn't change, rather a new scriptfile is created by au3stripper which contains the same script as created by aut2exe. When that is not the case you need to show me the SciTE outputpane information when running au3stripper. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Iczer Posted May 29, 2018 Share Posted May 29, 2018 sorry for invade this thread, but where/how au3stripper search for includes? My problem is - au3stripper with /mo option fail to find many, mostly original, #Include <> while other includes are found OK. AU3Check in the same time runs without errors. In SCiTe console I get : >Running AU3Check (3.3.14.0) params:-d -w 1 -w 2 -w 3 -w- 4 -w 6 -w 7 from:C:\Program Files (x86)\AutoIt3 input:E:\Program Files\Auto-it scripts\AM\AM.au3 +>18:27:02 AU3Check ended.rc:0 >Running Au3Stripper (16.612.1119.0) from:C:\Program Files (x86)\AutoIt3\SciTE\Au3Stripper cmdline: !==> *** ERROR: include file not found :#Include <APIConstants.au3> !==> *** ERROR: include file not found :#include <Array.au3> !==> *** ERROR: include file not found :#include <ButtonConstants.au3> !==> *** ERROR: include file not found :#include <ComboConstants.au3> !==> *** ERROR: include file not found :#include <Constants.au3> ... and so on ... +> 0 Au3Stripper v16.612.1119.0 finished merging 58280 lines of code, stripped 19030 comment lines and Merged 1844 Continuation lines. +> Created:E:\Program Files\Auto-it scripts\AM\AM_stripped.au3 with 37406 lines. +>18:27:06 Au3Stripper ended.rc:0 Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 29, 2018 Moderators Share Posted May 29, 2018 Iczer, Do you have a standard AutoIt install or have you customized it in some way? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Iczer Posted May 29, 2018 Share Posted May 29, 2018 hmm... some entires in SCiTe Tools menu and additions to default path in registry [HKEY_CURRENT_USER\Software\AutoIt v3\AutoIt] "Include"="many custom UDF paths with overal len ~ 1700 symbols" Link to comment Share on other sites More sharing options...
Iczer Posted May 31, 2018 Share Posted May 31, 2018 well... bump... Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 31, 2018 Moderators Share Posted May 31, 2018 Iczer, You have 1700 characters of various include paths? I would call that pretty non-standard! Seriously, you will have to wait until Jos can take a look as this thread - which might be a while as he is on holiday at the moment - so please be patient. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Developers Jos Posted June 1, 2018 Developers Share Posted June 1, 2018 (edited) Run it with the /debug option so the au3stripper.log is created and zip that and send it to me. Also properly show the whole string containing the paths for includes so I can have a look to see what is happening ( in about 2 weeks ) Jos Edited June 1, 2018 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. 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