XTC Tools - IDE Debugging?

New to XMOS and XCore? Get started here.
AndyCap
Member
Posts: 14
Joined: Sat Jun 20, 2020 7:15 am

XTC Tools - IDE Debugging?

Post by AndyCap »

Hi Guys,

I have an ai explorer board here and to seems like xTIMEcomposer has been retired and replaced by XTC Tools.

The documentation seems to say that there is no IDE integration for xgdb, I have tried getting it going with --interpreter=mi but have had no luck getting eclipse or vscode to use xgdb.

Is this just not possible?

I have spent too much time in the distant past with a terminal and GDB prompt, the idea of doing it again fills me with horror!

Cheers

Andy


User avatar
fabriceo
Experienced Member
Posts: 64
Joined: Mon Jan 08, 2018 4:14 pm

Post by fabriceo »

Hi AndyCap;
I m using xgdb in the xtimecomposer (14.3.3) for XU316 evaluation kit and I m very happy with it. if you are transitioning from xs1/xs2 to xs3 this is probably the easiest way. if you are new to xs3 then it might make sense to follow the official guideline around xtc 15, vscode, cli and so forth...

I hope xmos will keep some backward compatibility of the tool chain (especially setenv.sh PATHs and xcommon makefile) so we could continue using Eclipse based IDE... let see
AndyCap
Member
Posts: 14
Joined: Sat Jun 20, 2020 7:15 am

Post by AndyCap »

Hi Fabriceo,

Thanks for the reply.

I have managed to get the 15.1.4 toolchain working in xTimeComposer, including debugging which is good. HDPI displays are not working too well here though so I have had to set the resolution right down.

I'm hoping that XMOS put some effort into debugger integration into more modern versions of eclipse to integrate the debugger properly.
User avatar
dsteinwe
Experienced Member
Posts: 105
Joined: Wed Jun 29, 2016 8:59 am

Post by dsteinwe »

Hi AndyCap,

can you give some information how you got the xTimeComposer to use the 15.1.4 toolchain?
AndyCap
Member
Posts: 14
Joined: Sat Jun 20, 2020 7:15 am

Post by AndyCap »

I was just posting the simple steps to get this working and looked at my installation to check what I was posting and it doesn't make sense.

I have just had a large meal and lots of booze though, so my brain is probably not perfect.

I have set a reminder for tomorrow morning to get this info for you, I will just be dealing with a hangover then...
User avatar
dsteinwe
Experienced Member
Posts: 105
Joined: Wed Jun 29, 2016 8:59 am

Post by dsteinwe »

I'm already looking forward to tomorrow. Have nice day!