Adding stack trace and thread ID to debug info in call to nextRequest()