473,466 Members | 1,313 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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 1188
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
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.