We're trying to debug android kernel using ARM Development Studio and as per the documentation there is supposed to be a DS-5 Debug Perspective which doesn't seem to be appear in DevelopmentStudio-2019.0.
We got the IDE from https://developer.arm.com/tools-and-software/embedded/arm-development-studio/downloads.
Is it due to some missing configuration or something?
Which documentation are you referring to? DS-5 is an older tool, and has been replaced by Arm Development Studio. FYI, the Development Studio User Guide is here.
We made some layout changes to the IDE with Development Studio, however all the same views are still available.
Go to the IDE menu -> Window -> Show View, and you can open the appropriate pane. You can also open them with the "+" icon in any frame inside the IDE.
I also referred to the documentation shipped with the DS-5 IDE. And according to that too, I should be able to see the ARM Debugger option in Debug Confirguation's left hand column. But I can't see any. I have attached the snapshot below.
In the lower left (in main IDE) you can see "New Debug Connection". Click on this, and you will be prompted to then select "Linux Application Connection", then give the connection an appropriate name. After that, the GUI should be the same as per DS-5.
I tried creating new debug connection and if I follow the documentation you pointed me to. I should be able to see Linux Kernel and/or Device Driver Debug in Select Target panel in Edit Connection dialog box. But all I can see is Application Debug.
Am I missing something here? Because menu options should be available straight away.
Moreover, since I'm trying to online debug kernel in android OS. All the communication would be routed over adb instead of IP address.
If this information helps in any way.
Hello - yes, this option is indeed for application debug (only). To connect to gdbserver over adb, you would use port forwarding, and then set the IP address as localhost.
For kernel debug, you should instead select a Hardware connection. This requires a debug adapter such as the DSTREAM family of devices, and a suitable port on your target (what platform are you using?).
This may be easier to discuss with you directly. Feel free to send me a private message with your contact details, and I would be happy to arrange for myself or a colleague to call you.
View all questions in Arm Development Studio forum