Posts

How to improve debugging skills in gdb using gdbinit?

I've been using gdb for almost 12 years now. Meanwhile, I used couple of debugging tools as well such as: Visual studio ddd (gui solution to gdb) Visual Studio I liked Visual studio for debugging because it is very easy to use. Some of the common reasons: We are actually able to see source code while debugging. We are able to find the values of each variable thereonly just by hovering the mouse.  ddd Similarly, ddd also has the similar facility i.e. One can see source code while debugging. One can use "graph display" command to see the changes in that particular memory/variable. If you need more, you can right click on that variable and select "display" option to get it tracked. You can see assembly code as well. When comparing with Visual Studio, ddd has similar features but not very easy to use. Furthermore, it is not a light application, debugging speed becomes slower compared to gdb. GDB Now, most of the linux systems don't
Recent posts