Fidel

TrayIconDebug in a compiled exe

8 posts in this topic

#1 ·  Posted (edited)

Hello,

I've added

Opt("TrayIconDebug", 1)
to the top of my script. It helps me debug by hovering the mouse above the tray icon. However, when I compile the au3 to an exe, the tray icon no longer shows the current line of code.

Question: Is it possible to make the tray icon of a compiled script show the current line text?

Ta,

Fidel

Edited by Fidel

Share this post


Link to post
Share on other sites



Compiled scripts doesn't have any sense of "lines" so that isn't possible to know. Just run the uncompiled script to find any errors.

no worries, thanks

Share this post


Link to post
Share on other sites

Hi,

but how can the autoit error msgbox include an error line then?

Regards, Conrad


SciTE = 3.6.2.0/full   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE   H:\...\AutoIt3   H:\...\AutoIt3\Include   H: = Network Drive

   88x31.png  Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind.

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

8 hours ago, JohnOne said:

Because Compiled scripts do have a sense of "lines".

 @Simpel  , if you use

#AutoIt3Wrapper_Run_Au3Stripper=y
#Au3Stripper_Parameters=/MO

you can use the _stripped.au3 to correlate to the line number 

Edited by argumentum
called the attention of an uninvolved party.
1 person likes this

Share this post


Link to post
Share on other sites

@argumentum, I know and I used it some times. (There were times when shown error lines and the corresponding line in the _stripped.au3 couldn't match. But in the last few times it matched.)

Is it possible not only to have the line number but the code in this line too?

Regards, Conrad


SciTE = 3.6.2.0/full   AutoIt = 3.3.14.2   AutoItX64 = 0   OS = Win7Pro SP1   OSArch = X64   Language = 0407/german
H:\...\AutoIt3\SciTE   H:\...\AutoIt3   H:\...\AutoIt3\Include   H: = Network Drive

   88x31.png  Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now