Debugging via PyDev using Eclipse IDE - eclipse

Is there any step by step tutorial or guide that I can follow to use PyDev in Eclipse to debug my python code. Among the best I could find on the net is here, however it is still not well-explained how to get started.

The page prior to the advanced one you linked on pydev.org is step by step, and should get you started.
http://pydev.org/manual_adv_debugger.html

Related

Unable to install PMD in Spring tool suite

I am unable to install PMD plug-in for STS (build on top of Luna).
Could someone please give the steps to do it?
Try this http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/ and install for Eclipse 4.
I'm the developer of eclipse-pmd, one of the two PMD plugins you mentioned in your question. If your installing the plugin through the Eclipse Marketplace then you're doing everything right. Once the installation is finished the getting started guide will help you with setting up eclipse-pmd.
You are, however, not the first who has a problem getting eclipse-pmd 1.4 to work with the Spring Tool Suite. Unfortunately we have not yet found the cause of the problem and are still looking for a solution. If you'd like to help or would like to follow the issue's progress then head over to the eclipse-pmd issue tracker at Github.
Update: the issue has been fixed and it had nothing to do with STS.
If your problem is something different then I need more information on what exactly does not work, e.g. does the installation give you an error message or doesthe installation work and you get an error message when running PMD?
Please follow below steps to install PMD in STS.
Download PMD from https://sourceforge.net/projects/pmd-eclipse/files/ & Extract it.
Copy net.sourceforge.pmd.eclipse_1.8.0 folder into ..\sts-bundle\sts-3.9.6.RELEASE\plugins\
then Install eclipse PMD from Eclipse Market Place you will find in Help this option.
Restart your STS.

How to configure solr4 with eclipse Kepler?

I am trying to configure solr with eclipse kepler.I have done so far is ,i installed run-jetty-run plug-in from install new software menu. I started to follow "http://eclipse-jetty.sourceforge.net/update/" but im not getting options those are illustrated in these tutorials. so can any one tell me the steps to follow to configure eclipse with solr.
I am new to solr as well as eclipse ,so please bare with me.Sorry if i am missing something to mention.
Following is the screen shot of my project explorer window:
This is my debug configuration window:
Try this link : http://shrutiags.wordpress.com/2012/05/24/adding-solr-to-your-web-application-part-1-installing-solr-in-tomcat/
This link gives a set by step tutorial on how to setup solr in your development environment. It's a 3 part tutorial that will give you whatever you need to run solr in eclipse.

How to profile Eclipse plug-in startup time?

I'm trying to profile an Eclipse plugin, specifically it's start-up time. I'm not terribly familiar with Eclipse nor its profiling tools, and it seems that plugins are somewhat of a special case: I tried using JVM Monitor, but it cannot seem to detect the JVM running on localhost (even after I made sure to run the JDK instead of JRE and other things suggested in the FAQ). I then found a guide for profiling plugins with TPTP, but as I understood TPTP is no longer maintained and isn't even available for the latest Eclipse release, Juno.
Any tools, preferably simple to setup, to let me profile the startup time of my plugin?
I like using YourKit. They have very good Eclipse integration. It is not free, but well worth the cost if you will be doing lots of profiling.
Eclipse has been OSGi-based since 3.0.
Just use an SS console command in the OSGi console view to check the bundle(your plugin) status.
See more here.

How can I debug a built-in maven plugin?

I'm getting a NullPointerException when running the maven-assembly-plugin. It appears to be caused by a particular section of my assembly. How can I do source-level debugging of this plugin so I can narrow down the problem?
I'm using Eclipse and M2E.
To start with, you could run maven with -X option. This would give a lot of debug info. If this is insufficient, you could use mvnDebug. This page details how to do this using Eclipse.

Hadoop 0.20.2 Eclipse plugin not fully functioning - can't 'Run on Hadoop'

I've just finished installing Hadoop 0.20.2 under Cygwin on Windows 7 with Eclipse Helios (3.6). Hadoop is now fully started, and I'm trying to run a test application within a newly created MapReduce test project in Eclipse. I'm using the Hadoop 0.20.2 plugin from the Hadoop download.
The Map/Reduce Location perspective operates correctly, as does DFS Locations tree in the Package Explorer. However, when I right-click the driver, select 'Run As' > 'Run on Hadoop', nothing happens and no errors spawn on the Console (silent fail :(). I believe a dialog window should appear asking for config before it runs, but this is not happening.
There seems to be a few others with the same problem, but I've yet to find an answer that works. I've tried the 0.20.1 plugin (total fail). The following bug report seems to describe my issue, though I'm a bit of a newbie to all this, so could do with a hand / voice of experience to help out: https://issues.apache.org/jira/browse/MAPREDUCE-1280
The hadoop eclipse plugin bundled with the hadoop distribution is compatible with eclipse up to version 3.3. The JIRA-ticket MAPREDUCE-1280 contains a patch for running the plugin in eclipse 3.4 and upwards.
I just compiled the patched plugin with the fixes from the JIRA-ticket MAPREDUCE-1280. The file is attached to the ticket. You can find it here.
Simply remove the old plugin from your eclipse-installation and put the new version of the plugin into the dropins-folder of your eclipse-installation.
After upgrading from an older version of the plugin you will have to start eclipse with the "-clean" command line switch. Help on eclipse command line switches can be found here.
I don't know whether the plugin has been updated or not, but as far as I know, that one is out of maintenance for several previous releases.
One of the solution is that you should download the source code and try to re-compile the jar file for that plugin (for the latest version of eclipse), however I didn't try it so don't know whether it is working.
Maybe you can try to use Karmasphere.
askswOrder is correct that the Eclipse plugin has not seen much attention for quite a long time. The JIRA you reference does provide a fix, but it's only been applied to Hadoop 20.3 and above. One option would be to try to apply the patch to 20.2 and recompile, but that's asking quite a lot from a newbie. I'd second the suggestion to use Karmasphere; it's a great product for working with MapReduce and those gents have taken on the work of staying current with Hadoop releases.