Elena Laskavaia
|
Re: Not building but debugging include problem
|
Elena Laskavaia
06/12/2008 1:45 PM
post9060
|
Re: Not building but debugging include problem
I am not sure what do you mean jump, in your case the source code
locations is on target lets say /build/source/dir1/a.c and you try to
use it in the IDE and path to source on hard drive lets say
C:/project/dir1/a.c?
In this case you can add source mapping. Open you launch config, go to
page Source and Add a mapping call Path Mapping
In the dialog add new mapping /build/source -> C:/project, save config
and re-launch it. Does it help?
Ant Pace wrote:
> I have a program which is being built using makefiles and the build is outside of my control. I want to debug this
project using Momentics. I have gone through the debug setting to the stage where I can set a breakpoint in the main
code and step through it.
>
> However, when I try to jump into (say library) code that is not in that directory I get a message from Momentics that
I need to add that source code. This makes sense because it does not know where to find it. However even when I have
given it the folder containing the library it still can't find it. Also the files are greyed out in that dialog.
>
> Should I be able to point Momentics at any source code that matches code built into my target (using Makefiles) and
have it recognise that code and sync it with the running code or have I missed something fundamental?
>
> Many thanks
>
> Ant
>
> _______________________________________________
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post9058
>
>
|
|
|