[solved]Can't debug with VS code extension cortex-debug

When I start to debug ,I get something like this.


I set a break point at the beginning of the main function.But it never get there when I run debug.The yellow arrow always stop in cdasm files.I just think if it’s something wrong in my setting file.Then I git clone the odriver code and compile successfully.But I still can’t debug correctly.Does anyone hit the same problem?

if you haven’t done it already, try adding CONFIG_DEBUG=true to tup.config. This adds the ‘-g’ flag when compiling.

Thanks for your replying.It works fine.I can debug now.