[Gambas-devel] Debug enhancing

Charlie Reinl Karl.Reinl at ...16...
Wed Sep 20 21:04:15 CEST 2006


Salut Benoît,

this first shot replace the Baloon , use the 'o' command, and lists all 
elements of an Array.

The patch_Debug.tar.bz2 file includes both the files and the diff.
xArray-0.0.1.tar.bz file is one of my test-projects.

Collections, I tried to get aut some more informations, but like you proposed, 
there I need a special command.

If it could be like Arrays, counting on elements, getting back the Key and the 
Data for both Arrays and Collections, so I can handle them in one 
Sub/Function (even if for Arrays its the counter).
 


from your mail :

* A command to switch between stack frames, so that you can see not just the 
local variables of the current function, but the local variables of all 
functions in the stack.

CH: More information would be good. ( I haven't looked for yet)

Do you think that with the following new commands:
- Getting the name of the symbols of any object. 
CH: If you mean others then Arrays and Collection, I think for example 
clicking a TabelView geting back the properties list would be nice.

- Getting the number of elements of an object (if it is an array or a 
collection) 		
CH: ?MyArray.Count workes fine

- Getting the n-th element of an object. 
CH: If you mean others then Arrays and Collection, yes.

- Getting the n-th key of a collection. 	
CH: Yes or a list of and I look for the values.

+ have a 2nd return parameter in Debug.Read how shows the status, so I can 
show it  is an Error which returns in an Ballon (SyntaxError, Unkown 
Elements, etc.). 

+ asking for an element shows you the typ and Tag .

 Like the last time, if you find usefull, make the changes you want on the 
code, for me no problem.

Amicalment
Charlie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch_Debug.tar.bz2
Type: application/x-tbz
Size: 8274 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20060920/03986ade/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xArray-0.0.1.tar.gz
Type: application/x-tgz
Size: 4908 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/devel/attachments/20060920/03986ade/attachment-0001.bin>


More information about the Devel mailing list