On a related topic;
I am running into a hard-to-reproduce hang problem that will completely
halt both the Palm device and the POSE emulator when it occurs. This is
extremely irksome to track down since I do not know why or where in the
code it happens and it can take a minute to run with random gremlins to
trigger.
In the PC environment I would simply break into the debugger once the hang
happens and see the call context and disassembly with source; what can I
do to introduce a manual breakpoint in this manner at run time for Palm
or POSE?
Jouni
--
Jouni Mannonen
SurRender3D.com
On Thu, 26 Aug 1999, Gordon W. Gifford, Jr. wrote:
> Steve
> If this were dumb old DOS, I'd do a while(!kbhit( )){}to force a program
> to stop where I needed it. I'll bet there is something similar here with
> the pen or a STOP_WAIT button.
> Gordon
>
> "Wang, Steve" wrote:
>
> > Back of PP there is reset button which need needle kind thing to push.
> >
> > -----Original Message-----
> > From: Cranwell, Nicolas [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 25, 1999 4:32 PM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: How can I Break a Running Application?
> >
> > I tried to Power off but I can't . It doesn't respond , but the
> > application
> > is running. The reset Button deletes all the Palm Pilot V Staff ???
> > There isn't any other solution??? What if you do a while (true) { }
> > loop
> > you will have to reset your Palm???
> >
> > Any other idea?
> >
> > Thanks
> >
> > -----Original Message-----
> > From: Dave Lippincott [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 25, 1999 5:02 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: How can I Break a Running
> > Application?
> >
> > reset button
> >
> > -----Original Message-----
> > From: Cranwell, Nicolas <[EMAIL PROTECTED]>
> > To: 'Palm Developer' <[EMAIL PROTECTED]>
> > Date: Wednesday, August 25, 1999 3:20 PM
> > Subject: How can I Break a Running Application?
> >
> > >I am new at this stuff.
> > >I tried a small program( at the bottom ) and it doesn't
> > stop running .
> > >
> > >There is a Ctrl-C key at the Palm Pilot??? I need to
> > stop
> > the Application.
> > >
> > >How can I do it???
> > >
> > >Thanks
> > >
> > >Nicholas
> > >
> > >
> > >
> > >
> > >
> > >
> > >public Apli()
> > >{
> > >
> > > Graphics.clearScreen();
> > > botton.paint();
> > > field1.paint();
> > >
> > >}// end constructor
> > >
> > >public static void main(String[] args)
> > >{
> > > (new Apli()).register(WANT_SYSTEM_KEYS);
> > >}// end main
> > >
> > >public void penDown(int x,int y)
> > >{
> > > int i = Graphics.drawString("Hello",
> > > x,
> > > y);
> > > Graphics.playSound(Graphics.SOUND_CLICK);
> > > Graphics.drawLine(1,
> > > 1,
> > > x,
> > > y,
> > > Graphics.PLAIN);
> > >
> > >
> > > if (boton.pressed(x,y))
> > > {
> > > String elemento = field1.getText();
> > > lista.append(elemento);
> > > }// end if
> > >}// end penDown
> > >
> > >}// end class
> > >
> >
> >
>
>