[Gambas-user] Viewing Picture/Image objects in the IDE debugger FDebugExpr
Benoît Minisini
benoit.minisini at gambas-basic.org
Sat Dec 16 18:10:39 CET 2023
Le 16/12/2023 à 17:45, Bruce Steers a écrit :
>
> Maybe Image.FromString Picture.FromString could be used here by the
> debugger to not even need a temp file and just get the data as string?
I prefer a compressed format like PNG.
>
> Maybe it's time to revamp a little the interface of the debugger
> expression window.
>
> You can notice that this window has already two modes for collection
> and
> arrays: display the object properties, or display the object contents.
> The same distinction would be added for Image and Picture.
>
>
> That would be amazing.
>
> I could implement it in many ways if there was a way.
> My current train of thought was to open a popup window to display the
> image. another idea was a hidden panel in the expression viewer that
> shows upon request for an image object.
>
> i have been using Paint.class a bit recently to paint direct to picture
> objects , being able to see the picture was a case of using
> Picture.Save() in the code, i though darn it would be useful if the
> expression viewer supported images. :)
>
That's it. The debugger will do what you are currently doing manually.
I'm currently modify the debugger expression window so that it has one
part for the properties, and one part for the contents.
Regards,
--
Benoît Minisini.
More information about the User
mailing list