Is there a way to disable calls to Runtime.checkRestricted on the GAE Java development server under Eclipse?

Posted by Thomas Becker on Stack Overflow See other posts from Stack Overflow or by Thomas Becker
Published on 2012-04-13T03:13:36Z Indexed on 2012/04/13 5:28 UTC
Read the original article Hit count: 319

Filed under:

I'm one of those guys who step through their code a lot during development. Beginning with version 1.6.4 of the GAE Java development server, the server has been instrumented with calls to a function named Runtime.checkRestricted. This causes two inconveniences when I step through my code:

1) Whenever I step into a function, the debugger goes into the function Runtime.checkRestricted (for which there is no source code) at least once, often multiple times.

2) Whenever I step over a function call which has a large call tree underneath it, then it takes a very long time for the debugger to come back. (That's always a problem in the Eclipse Java debugger, but now it's really bad.)

For me, all this causes a serious drain on productivity. Is there any way to disable this instrumentation, or to prevent the debugger from stepping into it? I am using Eclipse with the GAE plugin.

© Stack Overflow or respective owner

Related posts about google-app-engine