Debugging question

2000-03-28 Thread Ken Miller
Can anyone tell me the best way to debug a program so that I can get the line number to narrow down the problem? I am getting a memory leak problem and not sure how to find out where it is coming from. I am using GCC ported to Windows (0.5.0 variety) with the 3.1 SDK. Thanks in advance. Ken >

Debugging Question

2000-11-14 Thread DCU
Hello all, While i'm debugginh my app, I try and exit my program by tapping on the house icon. At one point I was able to get to the application list, but now the debugger dies a horrible death. I debug log has the following error entries: - PrvGetBltInfo - PrvGetDepthConvertInfo Does

Metrowerks debugging question.

2002-05-20 Thread Shekar Mantha
Hi, My apologies if this is not the correct forum -- please indicate the correct forum to post to. Question: I have a multi-segment application. Codewarrior (CWR7) compiles and loads the application on to the emulator (Version 3.4). While debugging the app. though, I can see the source for only

Re: Metrowerks debugging question.

2002-05-20 Thread Ben Combee
In article <86712@palm-dev-forum>, [EMAIL PROTECTED] says... > > Hi, > > My apologies if this is not the correct forum -- please indicate the > correct forum to post to. > > Question: > > I have a multi-segment application. Codewarrior (CWR7) compiles and loads > the > application on to the em

RE: Metrowerks debugging question.

2002-05-20 Thread Shekar Mantha
able to debug, I am not able to. /Shekar > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Ben > Combee > Sent: Monday, May 20, 2002 10:45 PM > To: Palm Developer Forum > Subject: Re: Metrowerks debugging question. > > > In

RE: Metrowerks debugging question.

2002-05-20 Thread Ben Combee
In article <86724@palm-dev-forum>, [EMAIL PROTECTED] says... > > Hi, > > Yes the debug dot is set for all the files. One more interesting > observation: > > Now when my application crashes, codewarrior crashes as well giving an > unhandled > exception. I removed and reinstalled codewarrior (7.1

RE: Metrowerks debugging question

2002-05-21 Thread Stringer
>Subject: RE: Metrowerks debugging question. >From: Ben Combee <[EMAIL PROTECTED]> >Date: Tue, 21 May 2002 01:32:58 -0500 >In article <86724@palm-dev-forum>, [EMAIL PROTECTED] says... >> >> Yes the debug dot is set for all the files. One more interestin

Re: Metrowerks debugging question

2002-05-21 Thread Matt Hebley
> The bug is that you can only debug modules in the first segment. > > The workaround for the bug is to move the module you want to > debug into the first segment, or as Ben suggests, use an obsolete > version of POSE. > > Roger Stringer > Marietta Systems, Inc. Some ROMs work, e.g. 41_m505_EF

RE: Metrowerks debugging question

2002-05-21 Thread Ben Combee
In article <86741@palm-dev-forum>, [EMAIL PROTECTED] says... > This is not an acceptable response! There's a nasty bug here > which needs to get fixed. Question is whether is can be fixed in > POSE or fixed in CW. Regardless, it needs to get fixed! I agree that its nasty, but I disagree that

Newbie gdb and Palm OS 5 Simulator debugging question

2003-03-06 Thread Daryl Huff
I'm trying to debug my first Palm app using the PRC tools and I can't get gdb (m68k-palmos-gdb) to connect to the Palm OS 5 Simulator to debug my app. I carefully followed the instructions at http://prc-tools.sourceforge.net/install/cygwin.html to install everything onto my Win XP system. I h

Re: Newbie gdb and Palm OS 5 Simulator debugging question

2003-03-06 Thread Ton van Overbeek
Daryl Huff <[EMAIL PROTECTED]> wrote: > > I'm trying to debug my first Palm app using the PRC tools and I can't > get gdb (m68k-palmos-gdb) to connect to the Palm OS 5 Simulator to debug > my app. I carefully followed the instructions at > http://prc-tools.sourceforge.net/install/cygwin.html t

Re: Newbie gdb and Palm OS 5 Simulator debugging question

2003-03-06 Thread Daryl Huff
Ton van Overbeek wrote: Daryl Huff <[EMAIL PROTECTED]> wrote: I'm trying to debug my first Palm app using the PRC tools and I can't get gdb (m68k-palmos-gdb) to connect to the Palm OS 5 Simulator to debug my app. I carefully followed the instructions at http://prc-tools.sourceforge.net/insta

Re: Newbie gdb and Palm OS 5 Simulator debugging question

2003-03-06 Thread Ben Combee
What happens is that gdbpanel sets the 'gdbS' feature. The gdb startup code (when linked with -g) looks for this feature. If it is present it will break at PilotMain, if not the app will run normally. POSE sets this feature automatically, so you do not need gdbpanel when debugging with POSE. When

Re: Newbie gdb and Palm OS 5 Simulator debugging question

2003-03-06 Thread John Marshall
On Thu, Mar 06, 2003 at 12:05:31PM -0600, Ben Combee wrote: > Ton, why doesn't GDB just use the RPC interface to call FtrSet to setup > thie 'gdbS' before it downloads the application to the device/emulator? Patches are welcome :-). But the better solution is to change GDB so that it is not depe

Re: Newbie gdb and Palm OS 5 Simulator debugging question

2003-03-06 Thread John Marshall
On Thu, Mar 06, 2003 at 07:36:16AM -0800, Daryl Huff wrote: > Thanks, that did the trick. I went back and read the documentation at > http://prc-tools.sourceforge.net/doc/prc-tools_5.html#SEC29 and the > documentation there still looks to me like you only need to do this on > "real device". Yo

Re: Newbie gdb and Palm OS 5 Simulator debugging question

2003-03-07 Thread Ton van Overbeek
Ben Combee <[EMAIL PROTECTED]> wrote: > > >>What happens is that gdbpanel sets the 'gdbS' feature. The gdb startup >>code (when linked with -g) looks for this feature. If it is present it >>will break at PilotMain, if not the app will run normally. >>POSE sets this feature automatically, so you d

Re: Newbie gdb and Palm OS 5 Simulator debugging question

2008-01-27 Thread Jonathan Carse
Thanks for this thread, really helped me out of a jam with the Simulator. May I suggest adding this explanation to every Simulator readme (or should it be in Palm OS GDB documentation?). -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-com