After some try/error I got my driver built with debug symbols in it (the size is more than twice the normal build) ... but ... there is always a but !!
As my driver is a telescope driver and kstars require to have a CCD driver as well so I tried both indi_v4l2_ccd (with my laptop webcam....) or indi_gphoto_ccd and within QT, the application start like this:
indiserver -v indi_v4l2_ccd indi_arduinogoto_telescope
The issue is that, I just use:
indiserver -v indi_arduinogoto_telescope
I can debug with no error (breakpoint works), but I cannot test it with kstars.
If I use
indiserver -v indi_v4l2_ccd indi_arduinogoto_telescope
indiserver -v indi_gphoto_ccd indi_arduinogoto_telescope
I got a segmentation fault ! Any idea or recommendation ?