Not sure things get more wonky than this; the screenshot says it all. When I try to debug this code, it steps into the next line even though var_process_id is 0. Makes absolutely no sense at all; continues nonstop to process the loop in debug mode. This is a red flag bug/error as it represents a core logic flow issue with the debugging system.
