Leonardo Pappagallo wrote:
> Hi Jan,
> 
> I use Kdevelop 3.2.0 to build my program.
> I work in LXRT mode.
> 
> Now, I must debug my program when RTnet is running, but I see that it isn't
> possible.
> Can I debug my Program in LXRT mode when I use RTnet API (rt_socket(), ...)
> ?
> 
> Is there a particular debugger in User space that runs in real-time mode?
> 
> If it is'n possible with Kdevelop, do you know some IDE ambient to debug?
> Do you use some particular debugger or tools  to resolve this problem?
> 
> Thanks for all.
> 

Debugging /should/ work over recent (0.9.x) RTnet versions.
Prerequisite: the underlying RT extension must support debugging!

That was not possible with the design of RTAI < 3.3. AFAIK, latest RTAI
do support debugging via gdb and all its front-ends now. But this is
something you better ask on the RTAI list.

The "should" is in the first sentence because I personally haven't tried
this particular scenario, but RTnet is prepared for it through RTDM.
I only once tested debugging of a real-time user space program about a
year ago under Eclipse (+CDT) on a Xenomai box (was RTAI/fusion at that
time). This worked without problems. So, when you stumble over problems,
please check first if non-RTnet applications can be debugged flawlessly,
e.g. when they block on some semaphore.

Anyway, if you manage to get a debugger working, let us know how your
setup finally looked like. This is of common interest.

Jan


PS: I've fixed the CC. ;)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to