System lockup when debugging non UI process

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

System lockup when debugging non UI process

Postby jvdsandt » Fri Jun 18, 2010 12:52 am

Hello,

When we execute the following code in VASt 8.0 our system has a "lockup":

[
self halt.
Transcript show: 'Hello world!'.
] fork

We can get out of the lockup by a user break. But this is still very inconvenient when debugging. Is there a solution for this problem?

Jan.
jvdsandt
 
Posts: 15
Joined: Sun Nov 23, 2008 8:46 am

Re: System lockup when debugging non UI process

Postby waynej » Fri Jun 18, 2010 8:26 am

I tried it and had no problem. This is on VA 8.0.0's virgin abt.icx, and also my usual development image, on Windows.
waynej
 
Posts: 32
Joined: Wed Apr 18, 2007 9:18 am

Re: System lockup when debugging non UI process

Postby koschate » Fri Jun 18, 2010 10:23 am

It locks up for me on Windows with 7.5.2 and 8.0.2, but only when stepping through to the Transcript show. That doesn't surprise me greatly, since you're now trying to do something in a different process (the UI process). The way to get around that would be to dispatch the Transcript show to the UI process, for example, by wrapping it in an abtDefer:
Code: Select all
[
self halt.
[Transcript show: 'Hello world!'] abtDefer.
] fork
koschate
[|]
 
Posts: 102
Joined: Thu Feb 01, 2007 7:24 am


Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: No registered users and 1 guest