CLion remote debugging for ARM platform using cross toolchain...

已回答

Hi,

I am evaluation CLion to replace Eclipse for my project (we plane license for < 10 developers)

I use my "builroot cross compilation toolchain" to configure CLion : It seems to be OK.

But UI for configuring remote debug is "hard" and help don't help me...

On template there a model call "GDB Remove debug", I try to put "target remote 192.168.136.1" on "target remote arg but it don't work

> 192.168.136.1 is my target IP


On eclipse I setup my debugger like this :

 

"Remote Host DHC" content :

Cross debugger :

Help will be appreciated ^_^

0

Hello!

If you want to cross-compile in CLion on the local machine, it is possible by means of CMake. Here is the CMake cross-compile tutorial: https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/CrossCompiling.

And please take a look at the "Remote GDB Server" run/debug configuration which builds your CMake target locally, uploads the binary to the remote machine, launches it under gdbserver, and connects the CLion debugger. I think it should be suitable for your scenario. In the 'target remote' args field you need to specify host:port.

0

Hi,

Thanks for the answer, but cross compilation already work.

Does the job manually for debugging is not an option when it automatic with eclipse.

Intellij done Android Studio ?

With android studio debugging is automatic, why don't you implement the same feature ?

Regards,

0

First of all, please note that Android Studio is developed and supported by Google.

Secondly, manual job in CLion is similar to Eclipse: you need to configure the "Remote GDB Server" run/debug configuration (similar to what you do in Eclipse) and then you can debug.

 

0

Hi,

The main problem is that real "life"/"software" is different from documentation.

When I click on add using the template "GDB Remove Debug", I have this result :

And in the documentation from here : https://www.jetbrains.com/help/clion/remote-gdb-server.html?_ga=2.81656209.78563635.1574922397-1392417610.1567408959

I'm supposed to have this, that looks like "eclipse"...and contain all what I need...

Has you can see it's very different, I download this version from your website this morning (Linux 64 bits version ),

I may miss something but what ?

Regards,

 

0

Hi,
I found another profile closer to the documentation but the credential part is missing (and it doesn't work for me...

 

What is the new profile label for my need ?

Regards,

 

0

You provided the screenshot of "GDB Remove Debug" configuration and of "Embedded GDB Server" configuration. And I was writing about  "Remote GDB Server" configuration. All three configurations are different and have different names.

The  "Remote GDB Server" configuration is available only in CLion 2019.3 versions. If you're using different CLion version, please update it.

 

0

I use the last from your website : clion-2019.2.5

And as you an see this profile is not present...

Regards

0

>And as you an see this profile is not present...

Because, as I wrote before, the  "Remote GDB Server" configuration is available only in CLion 2019.3 versions.

Please go to File | Settings | Appearance & Behavior | System Settings | Updates, set the update channel to Beta Releases or Public Previews, apply changes, then do Help | Check for Updates and update CLion to 2019.3 RC version.

0

Hi,

Sorry for my misunderstand about version, I suppose the day0 download is the last version.

After some adjustment it works ^_^

Android Studio is a Google product but the DNA seems to the same as expected.

I need an IDE in stable state to justify the budget, do you have an idea of the release date with this functionality ?

If a buy a single license now for the "stable" product, does it work for "beta" version ?

> Before invest in corporate license i must test the product during several month.

Thanks, for your help,

0

>I need an IDE in stable state to justify the budget, do you have an idea of the release date with this functionality ?

CLion 2019.3 (stable version) was released yesterday - https://www.jetbrains.com/clion/whatsnew/

>If a buy a single license now for the "stable" product, does it work for "beta" version ?

Yes. Here is the information about our licensing model: https://sales.jetbrains.com/hc/en-gb/articles/206544679-What-is-our-licensing-model-.

0

Thanks,

I will order individual license to make a full test.

Thanks for your help

-- You can close this thread --

0

请先登录再写评论。