I tend to use the debugger keyword in thejsni method and then hit the
page with the developer tools open.
https://developer.mozilla.org/en/JavaScript/Reference/Statements/debugger
On Fri, May 11, 2012 at 12:02 PM, monkeyboy wrote:
> If You use Chrome You can try the following (works for me anyw
If You use Chrome You can try the following (works for me anyway): First
you start debugging in Development mode and put a breakpoint at the JSNI
method. When the breakpoint is hit then switch to the Chrome browser and
open the developers tools (Shift+Ctrl+I) then go to the scripts tab and
clic
If you have an exception in JSNI code, you can ask Chrome to "stop on all
exceptions", and you'll see your JSNI code and will be able to step within
it.
You can also try to "pause script execution".
On Friday, May 11, 2012 11:41:05 AM UTC+2, walker1c wrote:
>
> Hi,
>
> I am trying to debug a JS
Hi,
I am trying to debug a JSNI method while running in Development
Mode.
Can anyone tell me how to locate the JSNI code in a Javascript
debugger? I have tried using the script search feature in both
Firebug and Chrome to look for words that are part of the JSNI code,
but neither seems to be abl