How do I debug Process::processEvents() What does it do?
by Vince Gee · in Torque 3D Professional · 07/18/2012 (9:56 am) · 3 replies
I've got an issue where the engine runs great and then it hangs in the main loop on line
It goes into the Process::processEvents() and never comes back.
I've been looking at the c++ for a while now and I can't figure out what is going on in there.
I think it is handling keyboard and mouse stuff, but does anyone really know what it does?
Vince
if(!Process::processEvents())
keepRunning = false;It goes into the Process::processEvents() and never comes back.
I've been looking at the c++ for a while now and I can't figure out what is going on in there.
I think it is handling keyboard and mouse stuff, but does anyone really know what it does?
Vince
About the author
www.winterleafentertainment.com
Torque Owner Demolishun
DemolishunConsulting Rocks!
There is a for loop in there. I bet there is a massive amount of things it is processing. Or it is receiving so many events it cannot keep up in that loop. Hence, never being able to leave? I dunno.