Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - trouble finding source code for postmortem application profiling: (3 Items)
   
trouble finding source code for postmortem application profiling  
Hi, 

I've run a binary on my target with profiling enabled, and can collect and import into Momentics a gmon.out file.

In the Execution Time view, far right column, Location, shows source file names and line numbers, e.g.

queue.c:377

If I double click on an of these, I get Source not found.
Click on Edit Source Lookup Path...
I see I have the base folder of the svn tree for the project and I have "Search subfolders" checked.
I've checked that source files available in sub folders.

Note that if you do a mouse hover over a filename (e.g. queue.c:377) in the Location column, the full path, /fs/hd1-qnx4
/local....... shows up
I am running Momentics and my source files start with C:\svn

How do I get it to find the source files?  The binary was handed to me. I didn't build it within Momentics.   I'm also 
using version 4.5.0 Build id: I20081019
Re: trouble finding source code for postmortem application profiling  
in Source lookup tab try to create a mapping i.e. /fs/hd1-qnx4/...
 to c:/svn/... instead of trying to specify a folder
RE: trouble finding source code for postmortem application profiling  
This doesn't seem to work. I wonder if it's because my '/' characters
are converted to '\'?
Now using 6.5.0 SDP for Windows. Source code path looks like /Users/
from Linux or Mac.
Currently trying to get past 'Source not found' for QNX Application
Profiler.

Andy

-----Original Message-----
From: Elena Laskavaia [mailto:community-noreply@qnx.com] 
Sent: Wednesday, December 23, 2009 2:19 PM
To: general-ide
Subject: Re: trouble finding source code for postmortem application
profiling

in Source lookup tab try to create a mapping i.e. /fs/hd1-qnx4/...
 to c:/svn/... instead of trying to specify a folder




_______________________________________________

General
http://community.qnx.com/sf/go/post44379