Make logic dump to script?

Is it possible to see the actual code blender uses when it runs the logic bricks?

I am assuming it compiles together python code or C before it runs the game. Is there any way to have blender dump it to a file?


The logic bricks are hard-coded in C++, and there is no way to dump their code. You could always make yourself a debug build of Blender and step through the code with a debugger though…