Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Debugging on a 6.2.1 target using Momentics 4.0.1?: (5 Items)
   
Debugging on a 6.2.1 target using Momentics 4.0.1?  
Hi all,
I'm having problems debugging on a 6.2.1 target using the 4.0.1 IDE.
I get "Error getting remote environment" and the process terminates without actually being executed. This is only an 
HelloWorld test app.
I can succesfully debug the same test app on the same target using the 3.0.0 IDE.

Any clues anyone?
Thanks,
Martin

RE: Debugging on a 6.2.1 target using Momentics 4.0.1?  
You need to update qconn binary component on target. New ide cannot use
qconn from 6.2.1

-----Original Message-----
From: Martin Gagnon [mailto:martin.gagnon@genisys.qc.ca] 
Sent: February 7, 2008 3:57 PM
To: momentics-community
Subject: Debugging on a 6.2.1 target using Momentics 4.0.1?

Hi all,
I'm having problems debugging on a 6.2.1 target using the 4.0.1 IDE.
I get "Error getting remote environment" and the process terminates without
actually being executed. This is only an HelloWorld test app.
I can succesfully debug the same test app on the same target using the 3.0.0
IDE.

Any clues anyone?
Thanks,
Martin



_______________________________________________
QNX Momentics Community Support
http://community.qnx.com/sf/go/post4863
Re: RE: Debugging on a 6.2.1 target using Momentics 4.0.1?  
The Target Properties tells me that qconn is up to date on the target though, and the System Information perspective 
works very well with that 621 target.

However, when I try the 632 version of qconn on the 621 target, it will not run: 'Could not resolve all symbols'.
Running objdump -x qconn.632 | grep NEEDED shows:
objdump: qconn.632: no symbols
  NEEDED      libsocket.so.2
  NEEDED      libc.so.2

The 621 target has these 2 libs in places included in LD_LIBRARY_PATH.
Should they be updated as well?

Thanks,
Martin
Re: RE: Debugging on a 6.2.1 target using Momentics 4.0.1?  
On Fri, 2008-02-08 at 11:31 -0500, Martin Gagnon wrote:
> However, when I try the 632 version of qconn on the 621 target, it
> will not run: 'Could not resolve all symbols'. 
> Running objdump -x qconn.632 | grep NEEDED shows: 
> objdump: qconn.632: no symbols 
>   NEEDED      libsocket.so.2 
>   NEEDED      libc.so.2

632 binaries may not work on 621.  I think what's needed is the head
branch qconn compiled on a 621 system.

Re: Debugging on a 6.2.1 target using Momentics 4.0.1?  
 IDE 4.0.1 does not officially support 6.2.1 targets...

Some other things you can do with launching debugger: you can try to debug attaching to already running process or run 
pdebug over serial port