Hi all,

Sorry if I'm asking a question that's already been answered. I've searched
through the CodeWarrior online docs and the Knowledge Base and forums on
Palmsource.com, but couldn't find the answer that I'm looking for, so I'll
try asking it here.

I'm using CodeWarrior v9 to develop apps for Palm OS. I'd like to debug a
shared library (let's call it MyLib) that I'm working on. I've also written
a small client app (let's call it MyLibClient) to test the library's
functionality. So far, I've found that if I put breakpoints in the source
code for the lib, click on the Edit menu, click on Debug Preferences, click
on Runtime Settings, and choose MyLibClient.prc as the host application, I
can hit the Debug button, play with the app, and have the debugger stop at a
breakpoint in the lib's source code when that code is called. If I want to
see where that code was called, I can work my way up the function calls in
the Stack pane, and I'll eventually get to the source code in the client app
that called the library function, at which point I can look at variable
values and so on in the client's source code. So far, so good.

Now, what I'd also like to be able to do is to put a breakpoint in the
source of my client app, explicitly start up my client app in the debugger,
and when I hit the breakpoint in the client source, I'd like to be able to
step through the client source and then into the source code of my library.
In other words, I'd like to be able to step into the source code of a
function residing in MyLib.prc just as though it were a function residing in
MyLibClient.prc. Is there some way analagous to above that I can tell the
debugger that the library's source code resides in the directory structure
containing MyLib.prc? If there is, I'd very much appreciate finding out how
to do so.

Thanks,
Jay

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to