use getDebugStack function to track queries with indexq (closes #1810)
use getDebugStack function to track queries with indexq (closes #1810)

CircleCode/dynacase-core,Eric-Brison/dynacase-core,Eric-Brison/dynacase-core,Eric-Brison/dynacase-core,CircleCode/dynacase-core,CircleCode/dynacase-core