Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

print scope

Hello, I'm a newbie for lua, even though lua is very powerful, fortunately there is the forum to find some answers to some strange behavior for me.

I'm doing some test on my dissector, and I'm using the print function.

I can print until I reach the line 2 :

  1. print("AA") ====> *print correctly
  2. gip_protocol = Proto("TGIP", "TGIP Protocol")
  3. print("AB") ====> never *print

Is there some sort of scope for the print fucntion ?