Questions Tagged With debugginghttps://answers.axonivy.com/tags/debugging/?type=rssquestions tagged <span class="tag">debugging</span>enWed, 21 Dec 2016 09:19:58 -0500Eager Loadinghttps://answers.axonivy.com/questions/2311/eager-loading<p>Hello Ivy Team,</p> <p>In my project, I had to switch from the default Eager loading to the Lazy loading of the Entity classes. The reason was that the queries were not optimized. Now I have the following problem, every time I try to inspect the variables in debug mode, the Designer is throwing errors and it is almost impossible for debugging:</p> <p><img alt="alt text" src="http://answers.axonivy.com/upfiles/Capture_JJL7IfL.JPG"></p> <p>Best Regards, Yordan Yunchov</p>Stelt0Wed, 21 Dec 2016 09:19:58 -0500https://answers.axonivy.com/questions/2311/eager-loadingprocessdebuggingdesignerjavadataclassHow to debug Ivy Script?https://answers.axonivy.com/questions/2183/how-to-debug-ivy-script<p>Hi, I'm currently extending a existing Ivy application. I face the problem of being unable to debug (trace) Ivy script.</p> <p>Is there some tooling? maybe some trick to output directly into the "runtime log" of the designer?</p> <p>I've already hack the logger to display SQL and such. I'm familiar with web development, java, tomcat and most of the ecosystem. I just have hard time tracing the logic in process. I currently have a bug with Ivy add on, I replace all parameter values one by one with hardcoded values to see what is going on. I've figure out which variable is erroneous but can't figure out what's in it.</p>RemiMorinMon, 14 Nov 2016 20:41:45 -0500https://answers.axonivy.com/questions/2183/how-to-debug-ivy-scriptdebuggingivyscriptdesignerdebug log on ivy server for applicationhttps://answers.axonivy.com/questions/1972/debug-log-on-ivy-server-for-application<p>Hello All,</p> <p>How do I configure the log4j to show the ivy.log.debug() messages for an application ?</p> <p>Best Regards, Yordan</p>Stelt0Thu, 18 Aug 2016 13:56:41 -0400https://answers.axonivy.com/questions/1972/debug-log-on-ivy-server-for-applicationdebuggingloggingDebugging a RD process running on a remote serverhttps://answers.axonivy.com/questions/1034/debugging-a-rd-process-running-on-a-remote-server<p>Hello,</p> <p>I followed the directives to debug a remote server, as described in <a href="http://answers.axonivy.com/questions/21/how-can-i-debug-my-java-class-in-the-designer">How can I debug my Java class in the Designer?</a>.</p> <p>That works well, I can set breakpoints on Java class statements, and debug the code.</p> <p>I would like to know if it possible to also debug a RD process by setting breakpoints on process elements?</p> <p>I don't see how to have my breakpoints stop when they are executed. I started the engine, but that does not work.</p>A1234Fri, 14 Nov 2014 09:58:28 -0500https://answers.axonivy.com/questions/1034/debugging-a-rd-process-running-on-a-remote-serverdebuggingHow can I take a thread dump of Xpert.ivy Server?https://answers.axonivy.com/questions/733/how-can-i-take-a-thread-dump-of-xpert-ivy-server<p>To analyze deadlocks in my code (and in Xpert.ivy) or endless loops it is useful to get a thread dump.</p> <p>The thread dump contains information about each thread, the locks it owns, the locks it is waiting for and the whole java callstack of the thread. A thread dumps looks like this:</p> <pre><code>"http-8081-8" daemon prio=6 tid=0x000000001cd71000 nid=0x1124 in Object.wait() [0x000000001e24f000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on &lt;0x00000004d208fae8&gt; (a org.apache.tomcat.util.net.JIoEndpoint$Worker) at java.lang.Object.wait(Object.java:485) at org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:458) - locked &lt;0x00000004d208fae8&gt; (a org.apache.tomcat.util.net.JIoEndpoint$Worker) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:484) at java.lang.Thread.run(Unknown Source) "http-8081-7" daemon prio=6 tid=0x000000001cd70800 nid=0x1238 in Object.wait() [0x000000001e1cf000] java.lang.Thread.State: WAITING (on object monitor) at java.lang.Object.wait(Native Method) - waiting on &lt;0x00000004d2097900&gt; (a org.apache.tomcat.util.net.JIoEndpoint$Worker) at java.lang.Object.wait(Object.java:485) at org.apache.tomcat.util.net.JIoEndpoint$Worker.await(JIoEndpoint.java:458) - locked &lt;0x00000004d2097900&gt; (a org.apache.tomcat.util.net.JIoEndpoint$Worker) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:484) at java.lang.Thread.run(Unknown Source) </code></pre> <p>How can I take a thread dump of Xpert.ivy Server?</p>Reto WeissTue, 03 Jun 2014 12:15:48 -0400https://answers.axonivy.com/questions/733/how-can-i-take-a-thread-dump-of-xpert-ivy-serverdebuggingHow can I debug my Java class in the Designer?https://answers.axonivy.com/questions/21/how-can-i-debug-my-java-class-in-the-designer<p>I use a lot of Java code in my Ivy projects and I desperately need to debug them. If I set a break point in the source code, the execution does not stop at the break point. </p>SupportIvyTeamTue, 08 Oct 2013 15:51:34 -0400https://answers.axonivy.com/questions/21/how-can-i-debug-my-java-class-in-the-designerdebuggingjava