You can put that debugger statement right in your code where you need it (remember DevTools has to be open for it to work). This is what the help file says as far as the integrated debugger goes: For both the Windows and UNIX/Linux startup programs, to use the integrated Java debugger, 'java.exe' or 'java' must be in the JDK directory structure (in /bin, where tools.jar is in /lib), unless the '-cp' command line argument or JGRASPCLASSPATH environment variable is used. But you can still use DevTools This is your opportunity to select that otherwise-impossible thing to select and do what you need to do. The only controls are "continue", "step-over", "step-in", "step-out". No more events are fired and script excecution is completely paused. How do I just tell chrome to stop executing the javascript, no need to continue. jGRASP is implemented in Java, and runs on all platforms with a Java Virtual Machine (Java version 1.8 or higher). I also notice there is no "stop" button for the javascript debugger as well. Emptying the cache has no affect because its not even trying to reload the page. 19 years ago Hello Using jGrasp and what a nice IDE it is, I not able to get the debugger to step line by line through my C++ code. /./src/share/back/debugInit.c:708 FATAL ERROR in native method: JDWP No transports initialized, jvmtiErrorAGENTERROR. Place a check mark next to Run this program in Compatibility mode and select operating system from the drop down list. Right click on the setup file of the software and select Properties. This is rather brute-force but its the only way I get Chrome to actually load a fresh copy of that page, instead of just continuing the existing running one. debug: ERROR: transport error 202: connect failed: Connection refused ERROR: JDWP Transport dtsocket failed to initialize, TRANSPORTINIT (510) JDWP exit error AGENTERRORTRANSPORTINIT (197): No transports initialized. Starting jGRASP: Most integrated development environments (IDEs) include a debugger. Download the software from the manufacturer’s website and save it on your local disk. Java should respond with the connection port number, which will quickly be overwritten with the message '-jGRASP: connected to debugger.'. You could do the same at the command line if you wanted to start the process first, then connect a debugger. Every press of -R or click of the reload button simply continues to the next breakpoint. 1 Answer Sorted by: 0 That's the normal startup for the target process. There doesn't seem to be any way to force the javascript to stop running completely, and let chrome just reload the page. Sometimes when I'm debugging some javascript in Chrome and I have the javascript paused, if I try to reload the page, chrome instead just "continues" the debugger, stepping to next breakpoint.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |