Am Fre, 2002-12-27 um 22.48 schrieb nybxvc : Hi,
> I tried PalmOS5-Simulator. > But I get only an error message: memorymgr.c, Line: 3657, Free ptr > > What was running on Tungsten and the Emulator up to OS3.5 makes that. > During my programming I often got messages with Line numbers, which > aren't the lines in my code. How do I find them? I admit that I > didn't read anything about debugging. I all debugged by thinking only > until now. For PalmOS 3 and 4 you could check the source code of the OS, there you might find these lines. But in general this is not necessary (the text after the line number already includes the information you need to know) and won't save you the next step - which is to use a debugger (or any other mean) to find out at which line in your code you call an OS function that causes the error. In the above case, you try to work with a free chunk of memory (probably a ptr you already freed). In general it should be much quicker in these cases to start a debugger and find out where it crashes, as in this case you really can narrow it down to usually just a few lines of code. -- Daniel Seifert <[EMAIL PROTECTED]> -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
