lvgl / lv_port_pc_vscode

MIT License
239 stars 147 forks source link

Debug is not working with Cmake #34

Open kisvegabor opened 6 months ago

kisvegabor commented 6 months ago

Hi,

I've just updated the project to LVGL v9 and CMake. Now it uses LVGL's built-in SDL driver (we have built-in X11 driver too).

However ,with CMake the Debugger is not working. I believe there are some issues with simulator.code-workspace but it's an unknown territory to me.

@springltd @gcopoix From your previous activity in this repo I think you have a better understand about configuring the debugger. Could you take a look at this issue?

microwavesafe commented 6 months ago

I have cloned the repository but the usual, ctrl + shift + b or F5 both give me

make: *** No targets specified and no makefile found. Stop.

Is there now a requirement for a CMake extension, like this one?

https://code.visualstudio.com/docs/cpp/cmake-linux

gcopoix commented 6 months ago

thanks for your input, fixed in https://github.com/lvgl/lv_port_pc_vscode/pull/35