471,353 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,353 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 1098
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Kari Hallfast | last post: by
2 posts views Thread by Roose | last post: by
8 posts views Thread by Dave Potts | last post: by
5 posts views Thread by Melissa Evans | last post: by
5 posts views Thread by danfike | last post: by
13 posts views Thread by Anton Slesarev | last post: by
8 posts views Thread by Derek Martin | last post: by
reply views Thread by XIAOLAOHU | last post: by

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.