Hi, I'm new to Pydev/Eclipse. I got Pydev/Eclipse running Google App engine. I can even debug the code. I have a few problems I'd like to solve though.
Problem 1:
a) How can I configure Pydev/Eclipse to default to running my GAE webserver, and show this properly in Run As?
I've set up a Run Configuration (let's call it GAE_RC) which allows me to debug GAE, no problem. However, I can't seem to get GAE_RC to show up in the Run As menu (only shows up in Run History). I can also run GAE_RC by using Run Configurations directly.
The Run As menu shows either None Applicable, or shows default Python run configs, depending on what file/folder I'm focused on in Python Package Explorer. However, the default F11 behavior is to run my .py files directly, instead of using GAE_RC.
Also, on project Properties/RunDebug Settings, I can't add any launch configs - all the buttons to add/delete etc are grayed out. Not sure if this is relevant.
Is there a way to configure this so F11 will always run GAE_RC.. and show my configs in Run As as well?
Problem 2:
I can toggle breakpoints in my own code via rightclick, but not via Ctrl-Shift-B. Is there an easy fix for this?
I've tried to solve these issues myself, and spent time reading these forums and google searches for an answer. Thanks in advance!
Using:
Pydev 1.4.5.2727
Eclipse Version: 3.4.2 Build id: M20090211-1700
Google App Engine Version 1.1.9 - February 2, 2009
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I'm new to Pydev/Eclipse. I got Pydev/Eclipse running Google App engine. I can even debug the code. I have a few problems I'd like to solve though.
Problem 1:
a) How can I configure Pydev/Eclipse to default to running my GAE webserver, and show this properly in Run As?
I've set up a Run Configuration (let's call it GAE_RC) which allows me to debug GAE, no problem. However, I can't seem to get GAE_RC to show up in the Run As menu (only shows up in Run History). I can also run GAE_RC by using Run Configurations directly.
The Run As menu shows either None Applicable, or shows default Python run configs, depending on what file/folder I'm focused on in Python Package Explorer. However, the default F11 behavior is to run my .py files directly, instead of using GAE_RC.
Also, on project Properties/RunDebug Settings, I can't add any launch configs - all the buttons to add/delete etc are grayed out. Not sure if this is relevant.
Is there a way to configure this so F11 will always run GAE_RC.. and show my configs in Run As as well?
Problem 2:
I can toggle breakpoints in my own code via rightclick, but not via Ctrl-Shift-B. Is there an easy fix for this?
I've tried to solve these issues myself, and spent time reading these forums and google searches for an answer. Thanks in advance!
Using:
Pydev 1.4.5.2727
Eclipse Version: 3.4.2 Build id: M20090211-1700
Google App Engine Version 1.1.9 - February 2, 2009
1. If you have the launch properly configured, just launch it once and configure Eclipse to relaunch the last launch on Ctrl+F11 and F11 (see: https://sourceforge.net/forum/message.php?msg_id=6713523 )
2. Humm... That's a bug (see: https://sourceforge.net/tracker/?func=detail&aid=2660079&group_id=85796&atid=577329 ) -- you can however do: Ctrl+F10 + Add Breakpoint or Remove Breakpoint.
Cheers,
Fabio