Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Can't debug 6.3.0sp3 target with IDE 4.6: (11 Items)
   
Can't debug 6.3.0sp3 target with IDE 4.6  
Hi all,

I always worked with Momentics 6.3.0sp3, and all our targets use this version. I recently installed IDE 4.6, in order to
 benefit from the upgrades to Eclipse (much better stability, code completion, etc). I therefore use the older toolchain
 (Window-preferences-select install-6.3.0 SP3). I was pretty happy with the transition: builds work well, QConn works 
(even though it complains about target QConns being out of date), and I can run builds on target.

However, I can't debug. When launching a debug, I get:

Error
Cannot locate 'pdebug' binary on the target (default /usr/bin/pdebug):
Target <192.168.128.183:8000> reported an error: No such file or directory

However, this file is present on the target, and debugging with the older IDE works fine.

Any ideas?
Many thanks.
Re: Can't debug 6.3.0sp3 target with IDE 4.6  
I tried using my 6.3.0SP3 target and it worked.

Can you run the /usr/bin/pdebug on your target to make sure it's
executable? You should see an output from it: "You must specify a device
to connect to".

Also make sure you are connecting to the correct target (check IP). You
said you could run build on target, did you mean you could run the same
binary using the IDE "Run" launch configuration?

Thanks,
Andy

-----Original Message-----
From: Yannick Malins <community-noreply@qnx.com>
Reply-to: post43423@community.qnx.com
To: general-ide <post43423@community.qnx.com>
Subject: Can't debug 6.3.0sp3 target with IDE 4.6
Date: Wed, 9 Dec 2009 10:27:41 -0500 (EST)

Hi all,

I always worked with Momentics 6.3.0sp3, and all our targets use this version. I recently installed IDE 4.6, in order to
 benefit from the upgrades to Eclipse (much better stability, code completion, etc). I therefore use the older toolchain
 (Window-preferences-select install-6.3.0 SP3). I was pretty happy with the transition: builds work well, QConn works 
(even though it complains about target QConns being out of date), and I can run builds on target.

However, I can't debug. When launching a debug, I get:

Error
Cannot locate 'pdebug' binary on the target (default /usr/bin/pdebug):
Target <192.168.128.183:8000> reported an error: No such file or directory

However, this file is present on the target, and debugging with the older IDE works fine.

Any ideas?
Many thanks.



_______________________________________________

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

Re: Can't debug 6.3.0sp3 target with IDE 4.6  
Yes, I get:

# /usr/bin/pdebug
You must specify a device to connect to.
Process 122892 (pdebug) exited status=1.

I am connecting to the right target, as I can use target navigator, target filesystem navigator and I could run the same
 binary using the IDE "Run" launch configuration.
Re: Can't debug 6.3.0sp3 target with IDE 4.6  
And you are running "qconn" as root? Please check to see if "pdebug" is
in your path.

Re: Can't debug 6.3.0sp3 target with IDE 4.6  
Yes, the setup on the target is fine, because I can still launch in debug configuration with the old IDE.
RE: Can't debug 6.3.0sp3 target with IDE 4.6  
Ok if nothing is wrong in the target side then it will be on the host side. Can you attach your workspace log file so I 
can see if there is a hint? The log file is in your workspace ".metadata/.log".


-----Original Message-----
From: Yannick Malins [mailto:community-noreply@qnx.com]
Sent: Wed 09/12/2009 11:27 AM
To: general-ide
Subject: Re: Can't debug 6.3.0sp3 target with IDE 4.6
 
Yes, the setup on the target is fine, because I can still launch in debug configuration with the old IDE.




Attachment: Text winmail.dat 2.58 KB
Re: RE: Can't debug 6.3.0sp3 target with IDE 4.6  
Sure, here is a log created when opening Eclipse and trying to launch debug.

Regards,
Yannick.
Attachment: Text .log 4.33 KB
Re: RE: Can't debug 6.3.0sp3 target with IDE 4.6  
One of the error indicates usage of advanced command, which is only available in new qconn, I don't think it is related 
but you may need to update qconn to use with new IDE.
Unfortunately we do not have new qconn build for 6.3.0 earliest backward compatible release is 6.3.2.
Re: RE: Can't debug 6.3.0sp3 target with IDE 4.6  
Unfortunately, I can't change any of the QNX-related software on the target itself, as these are already in production.

 Is there any way I can force the new IDE to keep using the old qconn (just like it uses the other old components for 
building etc). I think that could fix my issues?
Re: RE: Can't debug 6.3.0sp3 target with IDE 4.6  
Well it IS using old qconn now, but you cannot debug, right? The problem is 6.3.0 is not supported platform for IDE 4.6 
and unless somebody from IDE team in their spare time would build a updated qconn on 6.3.0 or fix IDE to support 6.3.0 
qconn for you, I don't think you can fix it yourself.

Btw when you running debug are you trying to change priority of the process from the main tab? If not that it is 
compatibility error for sure...
Re: RE: Can't debug 6.3.0sp3 target with IDE 4.6  
Hmmm... I've just noticed that priority/scheduling algorithm part. It wasn't there in the old IDE. I suppose it 
overrides the values that would be used by the app by default? Is there a way to disable it?

IDE 4.6 is a quite a leap forward from 6.3.0, I hope I don't have to abandon it, going back to the old IDE will be very 
hard...