OpenNMT : lua code debug

(mike) #1

I am reading OpenNMT’s source code. But I always can not find a suitable tools to debug. I hope
I can understood the code faster if I can see the pipeline with debug.

I try some graphical tools such as eclipse + ldt, ZeroBrane Studio,.

The former is not compatible wit torch7 and the latter always is fronzed.

BTW. I have learned a lot about lua coding and the entire system is very clear coding style.
OpenNMT is an amazing work!

Thank you very much!

(Guillaume Klein) #2

Thank you.

I don’t know any debugging tools for Lua. Usually we simply rely on the print function as many Lua and Torch types are pretty-printed in the console.