I'm trying to use the debugger to explore and learn about Morphic. In Morphic workspace the following statements bring up a debugger window, but there is no way to proceed/debug
self halt. (SystemWindow labelled: 'Hello World') openInWorld.
It appears that
buildMorphicNotifierLabelled: label message: messageString
handles this so I tried evaluating the same statements in a non-morphic window and this consistently crashes with the following:
Current byte code: 0 Primitive index: 86 Stack dump follows:
16035232 [] in BlockContext>newProcess
Help please. I'm running this under Windows95.
-Laurence
Laurence Rozier wrote:
I'm trying to use the debugger to explore and learn about Morphic. In Morphic workspace the following statements bring up a debugger window,
but there is no way to proceed/debug
self halt. (SystemWindow labelled: 'Hello World') openInWorld.
The way to get a menu for a pane in Morphic is to click on the button that's at the very top of a pop-out scroll-bar. In Windows, you probably also want to avoid a bug which will cause the mouse to disappear when it's over that button: Hit F2 and make sure that "Defer display update" is not checked.
I miss being able to right-click to get menus. If I start using the Morphic environment for development, that's probably one of the first things I'll want to change.
BTW, don't expect the development tools to be very solid in Morphic just yet. For instance, I noticed that when stepping in the debugger, the highlight of the next message send doesn't get updated.
------------------------------------------- Bill Dargel wdargel@shoshana.com Shoshana Technologies 100 West Joy Road, Ann Arbor, MI 48105 USA
Laurence,
It appears that
buildMorphicNotifierLabelled: label message: messageString
handles this so I tried evaluating the same statements in a non-morphic window and this consistently crashes with the following:
could you please explain what *exactly* you tried to evaluate? The VM will crash (on any system by the way) whenever you try to create a new process during debug.
Andreas
Andreas,
the statements were:
self halt. (SystemWindow labelled: 'Hello World') openInWorld.
Andreas Raab wrote:
Laurence,
It appears that
buildMorphicNotifierLabelled: label message: messageString
handles this so I tried evaluating the same statements in a non-morphic window and this consistently crashes with the following:
could you please explain what *exactly* you tried to evaluate? The VM will crash (on any system by the way) whenever you try to create a new process during debug.
Andreas
Linear algebra is your friend - Trigonometry is your enemy. +===== Andreas Raab ============= (raab@isg.cs.uni-magdeburg.de) =====+ I Department of Simulation and Graphics Phone: +49 391 671 8065 I I University of Magdeburg, Germany Fax: +49 391 671 1164 I +=============< http://isgwww.cs.uni-magdeburg.de/~raab >=============+
the statements were:
self halt. (SystemWindow labelled: 'Hello World') openInWorld.
Ok, that's it. When you tried to step over the #openInWorld in the MVC environment a MorphWorldView is opened; resulting a new Controller scheduled by ScheduledControllers; resulting in a new process; resulting in a big bang. Just as I suspected ;-(
Andreas
squeak-dev@lists.squeakfoundation.org