[Gambas-user] Viewing Picture/Image objects in the IDE debugger FDebugExpr

BB adamnt42 at gmail.com
Sat Dec 16 05:22:53 CET 2023


On 16/12/23 12:38 pm, Jussi Lahtinen wrote:
>
>     I guess the address would be the result of Object.Address(TheObject)
>
>     Is there a reverse of this?
>     TheObject = Object.FromAdress(hAddress)
>
>     something like that, or some method similar?
>
>
> I think this exists only for integer, short, float, etc simple types 
> (or constant size types). Right now the problem is to get the size of 
> the object as an image can take just about any amount of memory. I 
> don't know enough about the object implementation details to say how 
> this could be done.
>
> Jussi
>
It might work but the sheer idea of using a random address and creating 
a possibly writeable object there gives me the heebeegeebees. Surely 
something would prevent this.

b

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231216/3fe2a515/attachment.htm>


More information about the User mailing list