[Cuis-dev] Capturing Debugger window
Hernán Wilkinson
hernan.wilkinson at 10pines.com
Sat Dec 30 04:10:50 PST 2023
Hi Hilaire,
What you have to do is to catch the exception of that process and then
open the debuger when the exception happens.
For example:
[[ 1/0] on: Exception do: [:e | Debugger open: …]] fork
Look for references to debugger and you will see that. Also, exceptions
have default handlers that you can define, etc
*Hernán WilkinsonAgile Software Development, Teaching & Coaching*
*Phone: +54-011*-4893-2057
*Twitter: @HernanWilkinson*
*site: http://www.10Pines.com <http://www.10pines.com/>*
Address: Alem 896, Floor 6, Buenos Aires, Argentina
On Sat, 30 Dec 2023 at 06:45 Hilaire Fernandes <hfern at free.fr> wrote:
> Hi Hernán,
>
> It is not what I am looking for. I already have a simplified debugger for
> DrGeo. What I want is to capture an error occurring in a detached process.
>
> https://github.com/hilaire/drgeo/issues/1
>
> I will continue my investigation. For me it is a very important aspect. In
> my more general Dynabook vision, user will produce dynamic contents through
> DSL scripting of ad-hoc pedagogical model (DrGeo and alike pedagogical
> domains). It is important to simplify their debugging experience by
> avoiding pop-up debugger.
>
> Thanks
>
> Hilaire
> Le 28/12/2023 à 23:09, Hernán Wilkinson a écrit :
>
> Hi Hilaire,
>
> you have to go to the main menu and select "DenotativeObject Browser". It
> will open a browser for "denotative objects" (objects a la Self, objects
> that not need to be instances of classes).
> At the second list (the objects list) right click, select Add Object in
> Category, enter an object name (ie. AlanKay), a category name (ie.
> example), then add a method, for example:
> m1
> self m2.
>
> Save it. On the method press "cmd+r" and it will allow you to debug that
> method. You will see that the debugger is simpler (less buttons, etc) and
> it does not allow you to debug code that is not defined in a denotative
> object.
>
> I hope this helps. Let me know if you have any questions.
>
> Cheers!
> Hernan.
>
> --
> GNU Dr. Geohttp://gnu.org/s/dr-geo/http://gnu-drgeo.blogspot.com/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20231230/e8d9992f/attachment-0001.htm>
More information about the Cuis-dev
mailing list