Jump to content



Photo

TrayIconDebug don't show line : compiled script


  • Please log in to reply
5 replies to this topic

#1 Okaryn

Okaryn

    Seeker

  • New Members
  • 3 posts

Posted 05 January 2008 - 04:11 PM

Hi,

I'm using on my scripts this command : AutoItSetOption("TrayIconDebug",1)

With Auto-It 3.2.4.0 it's working fine

With 3.2.10.0 the tray-icon doesn't show the current line (only the script name) (3.2.8.1 has the same problem)

Under Windows Vista Ultimate 32 bits with Aero

Bug or something had change ?

Exemple of a simple script :

AutoItSetOption("TrayIconDebug",1) AutoItSetOption("WinTitleMatchMode",2) If not(FileExists(@UserProfileDir & "\AppData\Roaming\Thunderbird")) then Exit Sleep(5000) run(@ProgramFilesDir & "\Mozilla Thunderbird\thunderbird.exe") WinWait("Thunderbird") WinActivate("Thunderbird") Send("^+M")






#2 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 8,925 posts

Posted 05 January 2008 - 04:29 PM

Hi,

I'm using on my scripts this command : AutoItSetOption("TrayIconDebug",1)

With Auto-It 3.2.4.0 it's working fine

With 3.2.10.0 the tray-icon doesn't show the current line (only the script name) (3.2.8.1 has the same problem)

Under Windows Vista Ultimate 32 bits with Aero

Bug or something had change ?

Exemple of a simple script :

AutoItSetOption("TrayIconDebug",1) AutoItSetOption("WinTitleMatchMode",2) If not(FileExists(@UserProfileDir & "\AppData\Roaming\Thunderbird")) then Exit Sleep(5000) run(@ProgramFilesDir & "\Mozilla Thunderbird\thunderbird.exe") WinWait("Thunderbird") WinActivate("Thunderbird") Send("^+M")

You didn't mention if your script was compiled.
I will say yes as I cannot reproduce your pb. But when compiled the line numbering is lost and cannot be recovered due to compilation processing.
NOBUG

#3 Okaryn

Okaryn

    Seeker

  • New Members
  • 3 posts

Posted 05 January 2008 - 04:42 PM

Yes it is with a compiled script.

So, since a version beetween 3.2.4.0 and 3.2.8.1, it's not possible to see the ligne currently executed (not the number, but the syntax) ? I don't see this change in the changelog.

Edited by Okaryn, 05 January 2008 - 04:46 PM.


#4 jpm

jpm

    a Real GUI/debug lover

  • Developers
  • 8,925 posts

Posted 05 January 2008 - 04:47 PM

Yes it is with a compiled script.

So, since a version beetween 3.2.4.0 and 3.2.8.1, it's not possible to see the ligne currently executed (not the number, but the syntax) ? I don't see this change in the changelog.

Yes when compiled the source is no more available :)

#5 Okaryn

Okaryn

    Seeker

  • New Members
  • 3 posts

Posted 05 January 2008 - 05:12 PM

It's a shame, it was very useful. There will not be a possibility to re-introduce this feature ?

#6 Nutster

Nutster

    Developer at Large

  • Developers
  • 1,450 posts

Posted 05 January 2008 - 08:14 PM

There will not be a possibility to re-introduce this feature ?

Not going to happen. In order to get a faster and smaller compiled executable, certain things were left out, including all the built-in debugging information. You really should debug the script before compiling anyway. Your compiled version is really for when you are done your development and ready to distribute it or use it.

Edited by Nutster, 05 January 2008 - 08:22 PM.

David NuttallNuttall Computer ConsultingAutoIt allows me to re-invent the wheel so much faster.An Aquarius born during the Age of AquariusI'm off to write a wizard, a wonderful wizard of odd...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users