As state in the Dual-CPU System Design:
4.5.1 ModusToolbox Instructions
Eclipse IDE for ModusToolbox software supports debugging a single CPU (either CM4 or CM0+) at a time. For detailed
instructions, open the ModusToolbox User Guide, and see the subsection PSoC 6 MCU Programming/Debugging.
Please refer to the ModusToolbox User Guide, chapter 8.
Eclipse IDE for ModusToolbox software supports debugging a single CPU (either CM4 or CM0+) at a time.
Then,how can i debug the dual-cpu at a time?
Can keil uVision debug the dual-cpu at a time?
You have to choose which CPU you want to debug first - CM0+ or CM4.
Then select the project (you will see two projects in the ModusToolbox Workspace). Then follow the instruction from the ModusToolbox User Guide (chapter 8). You can use the Quick Panel - Launches to initiate the debug session.
uVision allows you to debug both CPUs at the same time. You need to open two instances of uVision. The App Note has the instructions for that. See section 188.8.131.52.
Also refer to the ModusToolbox User Guide ("Exporting to IDEs" section) to load the project generated by "make uvision5".