[Gambas-user] Debugging Gambas (again)

KKing kicking177 at gmail.com
Sat Apr 27 10:41:36 CEST 2019


thankyou, that gives me a better understanding and lets me plan next 
steps, which will be to grab latest sources and compile with the 
"-DDEBUG_ME" to CFLAGS and CXXFLAGS, which I will not have done last time.

@Ced: I am "interested in these advanced debugging techniques" and also 
because I've been through the
<<
Traditional source code level debugging, e.g. print statements, 
breakpoints, and watch variables
 >>
And found that it fails in a section of code that is called repeatedly 
without issue until the segfault and by nature of the data that is being 
passed around and changing the order it is entered I know it is not the 
data and on face of it not program code. The goal is to not only get the 
code to run but also to establish why it is failing and if it is within 
Gambas internals or a component, to help identify and improve it, or in 
worst case have a "do not do this with Gambas".

K.



More information about the User mailing list