I came from a .NET background, where I can easily debug a webpage by adding a breakpoint and Running / Running
I am working on the JavaAbb3 application. I have successfully deployed ajub project on the server, but what do I want to know, controllers and ideas develop. To do this I want to be able to run / debug the project in Net Bean.
I've added both JBOSS5 and JBOSS6 to the IDE, but it takes more than a minute to get started. Sometimes it's completely hanging when I run a glass of fish. I do not have this problem - it takes a few seconds to get started. PC Speak is up to date, it's Core 7 which includes SSD and 4GB RAM is there.
Thanks
- For this type JAVA_OPTS Set:
-agentlib: jdwp = transport = dt_socket, address = 8787, server = y, suspended = n
- < Strong> debug & gt; & Gt; Attach the debugger
- Make sure the port is
8787 .
- Click OK .
Remote debugging is enabled; Normally set breakpoints.
or enable remote debugging as follows:
- % JBOSS_HOME% / domain / configuration / domain.xml < Li> Insert the following element:
- "Lang-XMLHappyprint-override">
& lt; Jvm-options & gt; & Lt; Option value = "- agentlib: jdwp = transport = dt_socket, address = 8787, server = y, suspended = n" /> & Lt; / JVM-option & gt;
- Save the file.
- Restart JBoss.
- Debug & gt; & Gt; Attach the debugger
- Make sure the port is
8787 .
- Click OK .
Remote debugging is enabled; Set breakpoints as usual.
Display - Debugger console panel should be shown:
localhost: 8787 user program running
- "Lang-XMLHappyprint-override">
- Click OK .
Comments
Post a Comment