I'm trying to fix a long standing bug in our rich GUI web app. It is a GET being executed out of place without query string parameters, causing uncaught exception on the business layer on the server due to missing parameters, returned as an error page.
Environment: jQuery (UI) + DWR (allow Java and JS to call each other through AJAX) + Spring/Spring MVC
Browsers: IE8, FF3.6, Chrome 6 @ WinXP
My current tools: Chrome inspector, Firebug, HttpFox (FF sniffer extension, was useful to pinpoint the bad request)
Trying to shorten it, I couldn't find which piece of code executes the GET, probably because it was registered as an event (like blur, unload, etc) or is an async event by DWR, maybe. The whole UI is build upon DWR (AJAX) calls, so there may be a wrong call somewhere. I tried searching for method names, function pointers, events registered on jQuery, DWR interface calls, tracing back the JS stack with Firebug... no good.
My last effort was searching for some tool that could locate which piece of code executes the POST/GETs or something like it... I've been shooting in the dark ever since I ran out of ideas.
So, I'd like to know any suggestion of tools or whatever technique can be used to locate a hidden GET. Any help is appreciated.
Thanks!