Bug found!!! - Variables within strings !

Bug found!!! - Variables within strings !

Postby fishy » Tue Jun 09, 2009 3:35 am

Hello Steve,

Im currently writing something like your debugger - its no debugger, but a step by step gui testing tool.
I need to "generate" a script and then have to execute it with wrapper calls like your debugging script does.
while developing the "generator" i found a debugger problem:

please try to debug a script with the following line:

$a="$b"

you detect $b within a string as a possible variable - your wrapping script throws an error then.

you have to "eliminate" the string contents (or 'x' or ' ' empty them) before "scanning" for variables.

Greets, fishy.
fishy
 
Posts: 17
Joined: Tue Jun 02, 2009 7:42 am

Re: Bug found!!! - Variables within strings !

Postby thefoolonthehill » Tue Jun 09, 2009 8:21 pm

Thanks. It is in my to do list.

Steve
thefoolonthehill
Site Admin
 
Posts: 53
Joined: Thu Dec 18, 2008 3:45 pm

Re: Bug found!!! - Variables within strings !

Postby fishy » Tue Nov 03, 2009 4:46 am

In Ver 26 it's working.
BUT:

with: Local $a="$b"
The Class Viewer shows b as found property...
Is it a component working for its own or is it filled by you?

Well it's not really disturbing - just a bit confusing in "large" programms.

Greetings, fishy.
fishy
 
Posts: 17
Joined: Tue Jun 02, 2009 7:42 am


Return to AutoIt Debugger

Who is online

Users browsing this forum: No registered users and 1 guest

cron