<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 4/28/2024 10:45 AM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:ef88ea53-b29a-4b5f-9ebc-738e23689b5c@free.fr"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Correction.<br>
</p>
<div class="moz-cite-prefix">Le 28/04/2024 à 15:16, Hilaire
Fernandes a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:f252f96f-345a-4a12-8153-b7f95456687d@free.fr">
<p>I see. I <b>would</b> have difficulties to find out.</p>
</blockquote>
</blockquote>
<br>
Yes. The debugger is not simple. It is quite complex.<br>
<br>
<blockquote cite="mid:ef88ea53-b29a-4b5f-9ebc-738e23689b5c@free.fr"
type="cite">
<blockquote type="cite"
cite="mid:f252f96f-345a-4a12-8153-b7f95456687d@free.fr">
<p>However I have two difficulties with your fix.</p>
<ul>
<li>I need the GUI to be still actionnable during the
execution of the script. Some sketch may take time to
execute, so I need to be able to pause/stop it from the
Sketch editor toolbar. I observe that withen recent image I
need to execute the script at priority "Processor
userSchedulingPriority - 1"<br>
</li>
<li>When script is executed at priority "<b>Processor
userSchedulingPriority +1</b>", your test isSuspended
always return false, the debugger has <b>no</b> chance to
be plugged when needed.</li>
</ul>
</blockquote>
</blockquote>
<br>
I see. I guess the debugger must be plugged in later. Maybe inside
your exception block, before suspending the process, call
#whenUIinSafeState: with the debugger plugging stuff. (I have not
actually tried this, it is just an idea).<br>
<br>
<blockquote cite="mid:ef88ea53-b29a-4b5f-9ebc-738e23689b5c@free.fr"
type="cite">
<blockquote type="cite"
cite="mid:f252f96f-345a-4a12-8153-b7f95456687d@free.fr">
<ul>
</ul>
</blockquote>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://gnu.org/s/dr-geo/">http://gnu.org/s/dr-geo/</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://gnu-drgeo.blogspot.com/">http://gnu-drgeo.blogspot.com/</a></pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich</pre>
</body>
</html>