I am trying to find out how can I debug a wxpython project in Eclipse. Do I need to install a external debugger (which one?) or can I do this with the Eclipse build-in debugger?
Install the PyDev extension. I love debugging through it :D
Related
I switched from Eclipse Mars to Eclipse Neon today. The Pydev plugin was not installed at the place where it was in Eclipse Mars (/Applications/eclipse/cpp-neon/Eclipse.app/Contents/Eclipse/plugins).
Does anyone know where the pydevd.py is located on OsX.
thanks
The easiest way to know where the PyDev debugger is located is by opening a PyDev editor, writing pydevd and requesting a code completion just showing the templates (ctrl space twice)... A template for creating a programmatic breakpoint will be shown (and it adds the debugger to the PYTHONPATH, so you can see where it's located).
I am currently working on eclipse plug-in that involves many modules, and I would like to debug and run this eclipse plug-in from IntelliJ.I open this project in IntelliJ to edit code but when I have to run/debug this project I have to open eclipse IDE and start it from there. How can I use IntelliJ to do this?
I haven't actually tried this ... but you could try launching the RCP application stand alone but with the remote debug parameters specified for in your application's .ini file.
Then just point IntelliJ to the appropriate source and attach it's debugger to the running app.
Why do you want to do that? Eclipse has multiple tools for the plugin development that you will miss in IntelliJ. Also you need to build your plugin as product headless and then attach a debugger to it.
In my opinion it doesn't worth the effort. I would install Eclipse and devolop with eclipse.
I'm using the Pydev plugin for Eclipse Luna for Java EE.
The python code runs correctly, but errors are showing up for built in keywords like print.
Error: Undefined Variable: print
I looked on stackoverflow for other answers, and the suggestions have all been to manually configure an interpreter. I changed my interpreter to point at C:/python34/python.exe, but this has not fixed the problem. I also made sure that I was using grammar version 3.0.
Update: I think it might be a problem with aptana instead of pydev. I uninstalled aptana, and installed pydev without any issues. But when I tried to reinstall aptana, I can only do it by uninstalling pydev. I need a way to try a previous version of aptana or else a way to install aptana and pydev separately
It seems like Eclipse Luna does not provide support for PyDev when it's installed with Aptana. I was able to install Aptana without PyDev and do a separate install of Pydev on its own and this solved the problem.
After installing and configuring PyDev plugin on Eclipse it works fine.
BUT when I close Eclipse IDE and open it again and want to run python program I cannot because there is no Python Run.
What should I do, is there anyone who has encountered such type of error ?
Thanks
I found the problem, I do not know why but the eclipse always changes the default workspace and this is creating a problem.
When I set my workspace back to a needed location the error gone and I was able to compile and run the python program.
I have installed cdt-master-6.0.2.zip (link) to my Eclipse by extracting it to the Eclipse installation dir. I'm using Eclipse 3.5 in Windows 7 x86 machine. But the plugin doesn't show up when I start Eclipse (I can't create a new cpp project). Yet cdt shows up in Help > About Eclipse SDK > About Eclipse SDK Features. What am I missing here?
To install plug-ins into Eclipse you should always prefer using the user interface through Help > Install new software menu.
Anyway if you really want to install plug-ins manually into your Eclipse installation, you have to place them into the dropins folder.
BUT this way you will have to resolve plug-in dependencies by yourself. If all dependencies are not satifsied, the concerned plug-ins will fail to start silently. This is why you should REALLY prefer to use the standard plug-in installation method to avoid any problem.