Chris,

Do you have SYM symbolics enabled in your library? Without the symbolics enabled
(Enable Debugger) you will not be able to see source code in th debugger window.

-- jkl

----- Original Message -----
From: "Chris Percival" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, February 27, 2001 4:21 AM
Subject: Re: Stepping into library code


> Ok, I have dragged the library MCP file into the main project.  I have
> expanded the library targets in the main project and selected which library
> target I want to link against (and noticed that it automatically added the
> required lib files to the project).  However I still can't step into library
> source code, only assembler.  Do I need to add the library project source to
> the main project?  I tried this and this causes all sorts of problems, like
> for instance if I have a library project source file with the same name as a
> source file in the main project it doesn't let me add it, meaning I can't
> build and debug.  Doing this would also cause lots of version control
> headaches, and kind of defeats the exersise of building a library in a
> separate project in the first place.  There has to be an easier way?
>
> --
> Chris Percival
> www.interaxis.co.uk
>
>
> Ben Combee <[EMAIL PROTECTED]> wrote in message
> news:40938@palm-dev-forum...
> >
> > "Chris Percival" <[EMAIL PROTECTED]> wrote in message
> > news:40892@palm-dev-forum...
> > >
> > > Ben, can you elaborate on your points please?  By 'drag the project' do
> > you
> > > mean dragging the project file in explorer or in Codewarrior?   If you
> > mean
> > > in Codewarrior, what exactly do you drag?
> >
> > I meant dragging a project from Explorer into a CW project window.
> >
> > > I can drag the source files
> > > accross, but I don't think this is what I want to do... (Or is it from
> > > 'Segments' or 'Targets').  If I drag a target from the library project
> > into
> > > the main project it gets added to the targets and the source files seam
> to
> > > have been added also, maybe this is what you mean, although I can't see
> a
> > > 'link against' option anywhere.
> >
> > The 'link against' option is in the target list -- its the last column
> which
> > has a chain link as its header.  When you click there, turning on the dot,
> > then the output of the linked project is inserted into the main project
> and
> > included in the link.
> >
> > > Also if I do get this going, what control
> > > do I have over which library target get used in the main project (as I
> > have
> > > several library targets).
> >
> > You can hit the plus sign to the right of the target name and control
> which
> > targets of the linked project are used.
> >
> > --
> > Ben Combee
> > Veriprise Wireless <http://www.veriprise.com>
> >
> >
> >
> >
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/tech/support/forums/
>


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

Reply via email to