I'm using Zombie.JS headless browser, to test an Asp.Net WebForms app (anyway I think server side technology is not important in this case). When I trigger the post of a form (this triggers many validations) I'm getting a "RangeError: Maximum call stack size exceeded" without any stack-trace. The is thrown when evaluating in the headless browser context one of the .Net functions that triggers the form submit (inside a function named WebForm_DoPostBackWithOptions()). So the error is coming from a separated V8 context, ie. the simulated browser. So I can't use node-inspector to debug that (AFAIK).
Of course this error is not ocurring when using other real browsers (Chrome, IE, Firefox).
Is there any way I can get a clue of what is causing the error? getting a stack trace? can I debug code running in this separated v8 context?
(I can't add console.log() everywhere around the client-side javascript code, as it's generated by the .Net Framework (and it's ugly, includes client-side validations of the form))
Thanks in advance!