Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Missing source files while debugging dll: (8 Items)
   
Missing source files while debugging dll  
I have set up environment in Linux VW to debug a (sensor) project under Momentics.
The project outpit are tasks and dlls.
I have no problem debugging as long as I stay inside a task.
BUT, when I try to step into a dll there is a message "No source file named xxx.c" (the xxx.c is a file used to build 
dll).

What settings am I missing
RE: Missing source files while debugging dll  
You need to add your shared library (dll) source lookup path to the
debugger. In your Momentics IDE debug launch configuration dialog,
select the "Debugger" tab, in the middle of the tab select the "Shared
Libraries" tab. Click "Add..." and browser to the folder containing your
dll source code. Make sure it's the folder not the file.

Also make sure you build your dll in debug mode too.

HTH,
Andy

-----Original Message-----
From: Anatoly Abelev [mailto:community-noreply@qnx.com] 
Sent: September-09-11 9:29 AM
To: momentics-community
Subject: Missing source files while debugging dll

I have set up environment in Linux VW to debug a (sensor) project under
Momentics.
The project outpit are tasks and dlls.
I have no problem debugging as long as I stay inside a task.
BUT, when I try to step into a dll there is a message "No source file
named xxx.c" (the xxx.c is a file used to build dll).

What settings am I missing




_______________________________________________

QNX Momentics Community Support
http://community.qnx.com/sf/go/post88755
Re: RE: Missing source files while debugging dll  
I have done it yesterday and retried today again.
Still have the same problem...
Re: Missing source files while debugging dll  
Is this armle?

On 09/09/2011 10:14 AM, Anatoly Abelev wrote:
> I have done it yesterday and retried today again.
> Still have the same problem...
> 
> 
> 
> _______________________________________________
> 
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88759
> 
Re: Missing source files while debugging dll  
Yes.
Actually the problem now with a static lib
The task: unit_test_hw_dll/arm/le.v7.g/unit_test_hw_dll_g
The static lib: lib/master/arm/a/le.v7.shared.g/libsensor-master_gS.a.

The debugger can not see a file sensor_cofig that is used to build libsensor-master_gS.a
Re: Missing source files while debugging dll  
Static libs should always work. Armle specifically have problem that symbols are loaded automatically, you can type
info shared in the gdb console, and if symbols are not loaded you can load them manually

On 09/09/2011 10:52 AM, Anatoly Abelev wrote:
> Yes.
> Actually the problem now with a static lib
> The task: unit_test_hw_dll/arm/le.v7.g/unit_test_hw_dll_g
> The static lib: lib/master/arm/a/le.v7.shared.g/libsensor-master_gS.a.
> 
> The debugger can not see a file sensor_cofig that is used to build libsensor-master_gS.a
> 
> 
> 
> _______________________________________________
> 
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88763
> 
Re: Missing source files while debugging dll  
You missing library lookup path for Debugger (in Debugger tab in launch configuration)

On 09/09/2011 09:29 AM, Anatoly Abelev wrote:
> I have set up environment in Linux VW to debug a (sensor) project under Momentics.
> The project outpit are tasks and dlls.
> I have no problem debugging as long as I stay inside a task.
> BUT, when I try to step into a dll there is a message "No source file named xxx.c" (the xxx.c is a file used to build 
dll).
> 
> What settings am I missing
> 
> 
> 
> 
> _______________________________________________
> 
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post88755
> 
Re: Missing source files while debugging dll  
I know this is old, but did you ever find a solution?