I used to work with CW where there was a way to create a task for the debug configuration to run before starting the debug session.
In the task I used to flash another executable (In my case it was a bootloader application) that I wanted to debug.
What's the proper way to do this in KDS? I want to be able to run my application and debug it as well as the bootloader.
This is a picture of this option in CW:
KDS is using GDB which has a lot of functions with command lines.
Both in the Startup and Debugger tab you have ways to execute gdb commands:
The commands for the server depend on your debug connection (see Command Line Programming and Debugging with GDB | MCU on Eclipse ).
I have not explored the details, but I think you should be able to do what you need with these commands.
I hope this helps,
Unfortunately this is a CodeWarrior feature that was not implemented in KDS. One alternative is to flash both the bootloader and application to the MCU but you will only be able to normally debug one of them, for the other you will just see the assembly information.
Please take a look to the following document, it might be helpful for you: Merging applications using Kinetis Design Studio
Hope it helps!
Technical Support Engineer