Is there any way that I can use "step" command of gdb to debug DeathMatch? For example , in VisualStudio, I can add a breakpoint to a line(the code may be an invoke of a function), when the program comes to this line, it pauses and I can use Step-Into to go into the function to see how the it actually works.
I think Step-Into is not only a very efficient way to find bugs but also a good way to explore code. Can I do this with Cafu in Linux ?
I've tried typing
Code: Select all
gdb build/linux2/g++/debug/Ca3DE/Cafu
But once the Cafu starts(GUI menu appears), I can't input any gdb command. How to put some breakpoints into the code of DeathMatch? (For example, What should I do if I want the game pauses once I open fire with the left mouse button?)
Thanks!