[zeromq-dev] gsl/zproject tracing & debugging

Arnaud Loonstra arnaud at sphaero.org
Thu May 9 12:13:04 CEST 2019


Hi all,

I'm currently looking into adding some features to the python_cffi 
binding. I already know how to do it in python but I need the gsl 
generator to do it.

What are best practices for tracing and debugging? I already know 'echo' 
but what is harder is to know what vars are available.

For example I'm now trying to debug the following line:

https://github.com/zeromq/zproject/blob/master/zproject_python_cffi.gsl#L151

which is a for loop:
for my.method.argument by argument.order
	...
	echo argument
	...
endfor

So how to tarce what's available in the argument variable? At first I 
thought these are the argument options from the api xml file. However 
only variadic is available but by_reference not.

Rg,

Arnaud



More information about the zeromq-dev mailing list