On 27 December 2017 at 07:26, Ben Coman <b...@openinworld.com> wrote:
> Hi Andrei, > > On 26 December 2017 at 09:51, Andrei Stebakov <lisper...@gmail.com> wrote: > >> Can I expect that break points in Pharo work in the same way as in Visual >> Works? >> When I set a break point in Pharo (6.1 on Windows), it displays a red dot >> with an exclamation mark and when I send this message to an object, the >> debugger doesn't get invoked. >> > > Sorry I'm not familiar with VisualWorks. > If I define this method (Pharo 6.1 on Linux)... > Object >> myTest > "Object new myTest" > self halt. > self inform: 'test'. > > then evaluate the comment, a debugger is invoked. > > If your example is different, could you explain it in more detail? > > cheers -ben > By strange co-incidence, I've just experienced a similar problem, that I've never seen before. Slightly rearranging my previous example... Object >> myTest "Object new myTest" self inform: 'test'. self halt. evaluating the comment pops up 'test' but doesn't open a debugger at the "self halt". It was working earlier today, but since then I had an episode which opened a large number of debug windows. I guess it could somehow be related. Actually its worse, Spotter doesn't show any contents, and "1 inspect" from Playground does nothing, although that does work from the old Workspace. All a bit strange. I'll move to fresh Image. I can upload this Image if someone cared to give it a once over. btw, version info... Latest update: #60520 (64bit) Unix built on Aug 27 2017 20:00:40 Compiler: 4.6.3 VMMaker versionString VM: 201708271955 cheers -ben