Good Evening,
I played somemore with the debugger and noticed an unwanted interaction with the TaskQueue: [:each | each halt. 'abc' printNl ] value: 3 So "each halt" will show up the debugger. My assumption was that when I press "F8" I would end up at "'abc' printNl" but I end in the TaskQueue exception handler and then my process is aborted. Do you think there is a way to have TaskQueue work and still be able to return to the right place inside this block? holger _______________________________________________ help-smalltalk mailing list [hidden email] https://lists.gnu.org/mailman/listinfo/help-smalltalk |
On 02/12/2013 20:13, Holger Hans Peter Freyther wrote:
> Good Evening, > > I played somemore with the debugger and noticed an unwanted interaction > with the TaskQueue: > > [:each | each halt. 'abc' printNl ] value: 3 > > So "each halt" will show up the debugger. My assumption was that when > I press "F8" I would end up at "'abc' printNl" but I end in the TaskQueue > exception handler and then my process is aborted. > > Do you think there is a way to have TaskQueue work and still be able to > return to the right place inside this block? > > holger > > _______________________________________________ > help-smalltalk mailing list > [hidden email] > https://lists.gnu.org/mailman/listinfo/help-smalltalk Hi, I think the debugger should handle Halt exception and continue the execution. Gwen _______________________________________________ help-smalltalk mailing list [hidden email] https://lists.gnu.org/mailman/listinfo/help-smalltalk |
In reply to this post by Holger Freyther
On 02/12/2013 20:13, Holger Hans Peter Freyther wrote:
> Good Evening, > > I played somemore with the debugger and noticed an unwanted interaction > with the TaskQueue: > > [:each | each halt. 'abc' printNl ] value: 3 > > So "each halt" will show up the debugger. My assumption was that when > I press "F8" I would end up at "'abc' printNl" but I end in the TaskQueue > exception handler and then my process is aborted. > > Do you think there is a way to have TaskQueue work and still be able to > return to the right place inside this block? > > holger > > _______________________________________________ > help-smalltalk mailing list > [hidden email] > https://lists.gnu.org/mailman/listinfo/help-smalltalk In GtkDebugger replace #debugger: with http://paste.lisp.org/display/140362 it should skip the Halt exception this is not the final version (need to put it in Debugger and start to add pref. framework). Cheers, Gwen _______________________________________________ help-smalltalk mailing list [hidden email] https://lists.gnu.org/mailman/listinfo/help-smalltalk |
In reply to this post by Holger Freyther
On 02/12/2013 20:13, Holger Hans Peter Freyther wrote:
> Good Evening, > > I played somemore with the debugger and noticed an unwanted interaction > with the TaskQueue: > > [:each | each halt. 'abc' printNl ] value: 3 > > So "each halt" will show up the debugger. My assumption was that when > I press "F8" I would end up at "'abc' printNl" but I end in the TaskQueue > exception handler and then my process is aborted. > > Do you think there is a way to have TaskQueue work and still be able to > return to the right place inside this block? > > holger > > _______________________________________________ > help-smalltalk mailing list > [hidden email] > https://lists.gnu.org/mailman/listinfo/help-smalltalk The patch only signal one time the semaphore and only error are catched by the exception handler. Cheers, Gwen _______________________________________________ help-smalltalk mailing list [hidden email] https://lists.gnu.org/mailman/listinfo/help-smalltalk 0001-Only-signal-one-time-the-sempahore-and-catch-Error-i.patch (2K) Download Attachment |
On 05/12/2013 14:37, Gwenaël Casaccio wrote:
> On 02/12/2013 20:13, Holger Hans Peter Freyther wrote: >> Good Evening, >> >> I played somemore with the debugger and noticed an unwanted interaction >> with the TaskQueue: >> >> [:each | each halt. 'abc' printNl ] value: 3 >> >> So "each halt" will show up the debugger. My assumption was that when >> I press "F8" I would end up at "'abc' printNl" but I end in the >> TaskQueue >> exception handler and then my process is aborted. >> >> Do you think there is a way to have TaskQueue work and still be able to >> return to the right place inside this block? >> >> holger >> >> _______________________________________________ >> help-smalltalk mailing list >> [hidden email] >> https://lists.gnu.org/mailman/listinfo/help-smalltalk > > Hi, > > The patch only signal one time the semaphore and only > error are catched by the exception handler. > > Cheers, > Gwen > Gwen _______________________________________________ help-smalltalk mailing list [hidden email] https://lists.gnu.org/mailman/listinfo/help-smalltalk 0001-Only-signal-one-time-the-sempahore-and-catch-Error-i.patch (2K) Download Attachment |
Free forum by Nabble | Edit this page |