Jump to content
Fidel

TrayIconDebug in a compiled exe

Recommended Posts

Fidel

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
Fidel

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
Simpel

Hi,

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

Regards, Conrad


SciTE4AutoIt = 3.7.3.0   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
argumentum
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.
  • Like 1

Share this post


Link to post
Share on other sites
Simpel

@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


SciTE4AutoIt = 3.7.3.0   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

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.