Elena Laskavaia
|
Re: Sync debugger to changed source
|
Elena Laskavaia
06/13/2008 10:18 AM
post9095
|
Re: Sync debugger to changed source
As I understand you have 2 copies of source file - one on the machine it
builds, and one on the host for IDE. And there is also virtual source in
the debug into of the executable you build. To successfully debug you
have to synchronize all 3 of them. I.e. change source in IDE, upload
sources to target, make there, binary would be updated, restart debug.
If you do opposite change source on target, build and upload to host
then you have to also click refresh on IDE project (if it is in the
project, if sources are not visible from any project - it is not needed).
Ant Pace wrote:
> Hi
> I have been using the debugger successfully and stepping into a function as expected. I have now made changes to that
source file and when I step into it, it is showing the cursor on the wrong line. I presume that it is using the
orignal line number. I have to build using Makefiles and not build through Momentics. How can I get the source and the
debugger back into sync?
>
> Many thanks
> Ant
>
> _______________________________________________
> QNX Momentics Getting Started
> http://community.qnx.com/sf/go/post9077
>
>
|
|
|