debug plugin #800
-
Hi, I have an eclipse tycho project that builds and the resulting exe runs just fine. But what is the magic to be able to debug it with an Eclipse IDE? Somehow I did manage it a few days ago but I am unclear what I did. I seem to recall the Run Configuration needs some magic. As an aside there is the mvn eclipse:eclipse plugin. But this is now deprecated? I am missing something in terms of getting to debug my application. Any pointers? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
If you have a eclipse-product file, you can simply choose "Debug As Eclipse Application" there is a button in the product editor for it, if you wan't to debug a running "exe" then remote-debugging would be the way to go. Both techniques are independent from tycho though... |
Beta Was this translation helpful? Give feedback.
-
If you want to debug as you're developing your application, then use PDE debug capabilities as suggested by Christoph. But this does require you to properly configure your workspace to develop your application. |
Beta Was this translation helpful? Give feedback.
If you want to debug as you're developing your application, then use PDE debug capabilities as suggested by Christoph. But this does require you to properly configure your workspace to develop your application.
If you want to debug the resulting application, just tweak the .ini file of your application to add some debugging VM args (standard Java flags), and then connect to it with https://help.eclipse.org/latest/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-remotejava_launch_config.htm