I know that Eclipse (SystemWorkbench is an Eclipse based IDE) sometime provide a different way to do a task compared to other IDE. This is because it is much more than an IDE, it is a development platform. Usually you can appreciate teh benefit of Eclipse after the initial “hard” learning period.
B.T.W. coming back to your debugging problem. Check your Debug configuration. Eclipse can be used to develop/debug many different kind of software/firmware. So it introduces the concept of Debug Configuration in order to provide a common UI for different kind of applications.
- Use the Run > Debug Configuration... menu command to open the Debug Configuration dialog
- Under the Ac6 STM32 Debugging item in the left three view select the debug configuration you created for your projetc (HelloSTM32F4 Debug in my case)
- The main tab is easy to understand, but let me know if you need more information
- In the Debugger tab you should check if the OpenOCD configuration script is the right one for your nucleo board. In my case it is nucleo_f401re.cfg
If your configuration is ok but you still have the problem, could you please look at the OpenOCD console in the Console view? To do so, you can click the button highlighted in the below image in the Console view
That view provides more info about the problem.