473,216 Members | 1,363 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,216 software developers and data experts.

New to Python Would like debug advice

Yep, I'm new to the language, it's been a couple of months.

I opted for gvim and console window for developing on a Windows XP
box. I'm not a huge fan of IDEs except for when I need some
debugging. I've done my googling and see a bunch of options out there
for a debugging solution for Python on Windows.

I've used Eclipse for a few years for Java development and I
understand there is a Python module for it that might make sense.

What I'm looking for is advice on what to use to debug general Python
programs at the source level, some will be graphical. If the eclipse
route is the way to go, that's fine, but I'm wondering what other
options people have good luck with. Keep in mind I will probably
continue to use Vi/Emacs and a console window for my main development.

Thanks.
Dec 17 '07 #1
4 1181
PatrickMinnesota a écrit :
Yep, I'm new to the language, it's been a couple of months.

I opted for gvim and console window for developing on a Windows XP
box. I'm not a huge fan of IDEs except for when I need some
debugging. I've done my googling and see a bunch of options out there
for a debugging solution for Python on Windows.

I've used Eclipse for a few years for Java development and I
understand there is a Python module for it that might make sense.

What I'm looking for is advice on what to use to debug general Python
programs at the source level, some will be graphical. If the eclipse
route is the way to go, that's fine, but I'm wondering what other
options people have good luck with. Keep in mind I will probably
continue to use Vi/Emacs and a console window for my main development.
If you're ok with a command line interface, Python already provide one:
http://docs.python.org/lib/module-pdb.html
Thanks.
Dec 17 '07 #2
On Dec 17, 2007 9:17 PM, PatrickMinnesota <Pa**************@gmail.comwrote:
Yep, I'm new to the language, it's been a couple of months.

I opted for gvim and console window for developing on a Windows XP
box. I'm not a huge fan of IDEs except for when I need some
debugging. I've done my googling and see a bunch of options out there
for a debugging solution for Python on Windows.

I've used Eclipse for a few years for Java development and I
understand there is a Python module for it that might make sense.

What I'm looking for is advice on what to use to debug general Python
programs at the source level, some will be graphical. If the eclipse
route is the way to go, that's fine, but I'm wondering what other
options people have good luck with. Keep in mind I will probably
continue to use Vi/Emacs and a console window for my main development.

Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
Debugging Python in eclipse is great. It's the same as debugging in
Java, so you don't have to learn any new interface or concepts to get
started.

--
nasser
Dec 18 '07 #3
Ramsey Nasser a écrit :
On Dec 17, 2007 9:17 PM, PatrickMinnesota <Pa**************@gmail.comwrote:
>Yep, I'm new to the language, it's been a couple of months.

I opted for gvim and console window for developing on a Windows XP
box. I'm not a huge fan of IDEs except for when I need some
debugging. I've done my googling and see a bunch of options out there
for a debugging solution for Python on Windows.

I've used Eclipse for a few years for Java development and I
understand there is a Python module for it that might make sense.

What I'm looking for is advice on what to use to debug general Python
programs at the source level, some will be graphical. If the eclipse
route is the way to go, that's fine, but I'm wondering what other
options people have good luck with. Keep in mind I will probably
continue to use Vi/Emacs and a console window for my main development.

Thanks.
--
http://mail.python.org/mailman/listinfo/python-list

Debugging Python in eclipse is great.
Specially thru ssh on an overloaded web server...
It's the same as debugging in
Java, so you don't have to learn any new interface or concepts to get
started.
There's some differences here. I don't even dream of trying to write any
non-trivial Java progarm without a debugger. OTHO, I already wrote a few
non-trivial Python programs (and some others that would have been
non-trivial in Java) without having to use pdb - a couple trace and the
interactive shell where quite enough. So perhaps there's at least one
new concept to learn here : you don't need a mammoth IDE to be
productive with an agile language.

My 2 cents.
Dec 18 '07 #4
Nir
On Dec 17, 9:17 pm, PatrickMinnesota <PatrickMinnes...@gmail.com>
wrote:
Yep, I'm new to the language, it's been a couple of months.

I opted for gvim and console window for developing on a Windows XP
box. I'm not a huge fan of IDEs except for when I need some
debugging. I've done my googling and see a bunch of options out there
for a debugging solution for Python on Windows.

I've used Eclipse for a few years for Java development and I
understand there is a Python module for it that might make sense.

What I'm looking for is advice on what to use todebuggeneral Python
programs at the source level, some will be graphical. If the eclipse
route is the way to go, that's fine, but I'm wondering what other
options people have good luck with. Keep in mind I will probably
continue to use Vi/Emacs and a console window for my main development.

Thanks.
Try Winpdb (On Linux as well).
Dec 20 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Kari Hallfast | last post by:
Hi, I'm a C++ programmer and I have just recently decided to use Python as an embedded scripting language. I call Py_Initialize(), run a few scripts and call PyFinalize() which causes an unhandled...
12
by: JD | last post by:
This is another Python problem, I think might be unrelated to the earlier bug I found, and eventually figured out how to report it to Sourceforge. This is related to a question I have about...
1
by: Vbfoo Bar | last post by:
Hello, To implement a Zope intranet on a linux RedHat ES 3, I had to install a Python 2.3.4 that I have compiled myself. I would like to compare the respective performance of this python...
2
by: Roose | last post by:
With some googling I have found these resources: http://docs.python.org/ext/win-dlls.html http://www.python.org/doc/faq/windows.html I have a large Win32/MFC/C/C++ application that has an...
8
by: Dave Potts | last post by:
Hi, I'm just starting a development project in Python having spent time in the Java world. I was wondering what tool advice you could give me about setting up a continuous integration...
5
by: Melissa Evans | last post by:
Hi. I'm new to Python. :) I've modified grappy.py, http://www.stacken.kth.se/~mattiasa/projects/grappy/, a postfix policy daemon for greylisting. to use LDAP as a backend instead of SQL (with...
5
by: danfike | last post by:
Hi all, So I'm working on a C++ application that will eventually embed or extend Python using Boost.Python, but I first need to get Python compiled correctly for my platform. I've got a Windows...
13
by: Anton Slesarev | last post by:
I've read great paper about generators: http://www.dabeaz.com/generators/index.html Author say that it's easy to write analog of common linux tools such as awk,grep etc. He say that performance...
8
by: Derek Martin | last post by:
I'd like to know if it's possible to code something in Python which would be equivalent to the following C: ---- debug.c ---- #include <stdio.h> bool DEBUG;
1
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.