How to step after a (break) ?
Hi all here on the list!
First one for me here - new to LW but not new to Lisp ;-) As I am
coming from a different implementation I am seeing challenges I
wasn't having before ...
That is (using LW PE on Mac OS X Intel 10.4.10):
(defun main ()
(run-window 'gnc-app-test01 nil))
(defun test01-main ()
#+lispworks
(mp:process-send mp:*main-process* '(main))
#-lispworks
(main)
)
Now I open the stepper and because I need to do mp:process-send I am
loosing the process stepping. In other words I can't step into the
main function when stepping from test01-main. Wanted to be clever
then an put a breakpoint into main at (run-window ...) - but, hey, I
never get LW to stop there ... The only chance is to put (break) in
at some place. Which I did in a function 'tk-togl-init which gets
called from within 'run-window:
==========================================
Backtrace taken at: 22 Sep 2007 18:57:33
==========================================
#<The COMMON-LISP-USER package, 54/128 internal, 0/4 external>
#<MP:PROCESS Name "Cocoa Event Loop" Priority 60000000 State "Running">
Condition: Break.
Call to CELTK::TK-TOGL-INIT (offset 24)
CELTK::INTERP : #<Pointer to type :VOID = #x168B0410>
Call to CELTK:RUN-WINDOW (offset 199)
CELTK::ROOT-CLASS : NET.GOENNINGER.APP.CELLO-WIDGETS-
USER::GNC-APP-TEST01
CELTK::RESETP : NIL
CELTK::WINDOW-INITARGS : NIL
So far so good. Now I get a Listener window popping up giving me a
few choices but no way to step from there ...
I get a crash of LW somewhere after that point and I need to step ...
Any ideas/hints/pointers on how to achieve this is really
appreciated ...
Thanks!!!
Frank
--
Frank Goenninger
frgo@goenninger.net