no such object in step by step debugger

Jacques Hausser jacques.hausser at unil.ch
Fri Nov 7 15:00:06 EST 2008


Hi Mark,

I don't think so. TheField is just the short name of the field, that  
is in my case "Fv 4", NOT the long name.  Put field "Fv 4" into  
someVariable is quite correct, no ?
I should have called this variable "TheShortFieldName", sorry, but I'm  
lazy...
(I correct it for clarity's sake hereunder)

Jacques

Le 7 nov. 2008 à 20:33, Mark Schonewille a écrit :

> Hi Jacques,
>
> This has nothing to do with the debugger. The syntax
>
>  put field theField into thevar
>
> is incorrect and should be
>
>  put the text of theField into thevar
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> http://economy-x-talk.com
> http://www.salery.biz
> Dutch forum: http://runrev.info/rrforum/
>
> Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html 
>  for more info.
>
> On 7 nov 2008, at 20:04, Jacques Hausser wrote:
>
>> Hello,
>> I was away from Revolution for a while (to many other things to do)  
>> but now I'm just retired (yes!!!) and at least I have time to work  
>> a bit more on some applications I planned to do... and I discovered  
>> a strange thing with the new debugger.
>> Forgive me if it is known already (but in this case answer  
>> nevertheless directly, many thank, I was unable to find something  
>> about this problem on the list).
>> I have a stack's custom property called CurrentField, containing  
>> the short name of a field. In the stack script I have something like:
>>
>> put the currentField of me into theShortFieldName
>> put word 2 of theShortFieldName into numvar
>> -- here some stuff with numvar
>> put field theShortFieldName into thevar
>> -- here some stuff with the content of the field (thevar)
>>
>> Well. If I put a breakpoint on the last line of this script,  
>> everything is OK, numvar and thevar both contain what I want. BUT  
>> if I put my breakpoint on the first line, and progress step by  
>> step, I get an error "chunk: no such object" at the "put field  
>> theShortFieldName" line.
>> If I change my mind and put the long name of the field in the  
>> currentfield, everything is OK, but it is just boring and more  
>> heavy to parse to get my information back.
>> The same problem seems to occur with any objects designed by their  
>> short name. The defaultStack is the good one (mine). I got this  
>> problem with Revolution 3 on a Mac Intel with OS X 10.5.5
>> I think it's not a fair behaviour for a debugger, but perhaps it is  
>> not orthodoxal to invoke objects by their short name...
>>
>> Thank you for advice
>>
>> Jacques
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

******************************************
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax: 	++ 41 22 366 19 40
mobile:	++ 41 79 757 05 24
E-Mail:	jacques.hausser at unil.ch
*******************************************




More information about the use-livecode mailing list