perfstr Posted February 1, 2017 Posted February 1, 2017 Hello, I would like to share my experience about development and debugging inside Armbian. On the beginning I tried to use Code::Blocks. But it crashed too many times, mostly during simple file editing. Then I found better IDE - CodeLite. When I wanted to debug a program, I found I have to install GDB. After installing and configuring it, the debugging looked to be possible, but every attempt finished with segmentation fault somewhere outside of my program, even before the first statement in main function was reached. After several attempts, I uninstalled and re-installed GDB and this time found recommended additional component - libc6-dbg. Installing this component fixed the fault problem. It looks a bit strange for me that the libc6-dbg is recommended and not required component. And another point - how would it be possible to detect during debugging that this component is missing? I hope this topic will help somebody else, who meets the problem. 1
Recommended Posts