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 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 able to find anything. I have also tried > browsing through the script files in the debuggers, but there seems to > be very little script available. > > I usually avoid this problem by putting all the native Javascript into > a script file and restricting JSNI to shell methods that call > functions in the script file, but on this occasion it isn't possible. > > Thanks, > > Chris -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/GVyCNS5LtXoJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.