473,378 Members | 1,410 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,378 software developers and data experts.

new python debugger

hi:

Nir Aides who wrote the rpdb debugger has enhanced it and stuck a
frontend on it whoo-hoo. it is fantastico! see and download it at
http://www.digitalpeers.com/pythondebugger/

cheers mark

Aug 9 '05 #1
8 1409
On 9 Aug 2005 03:52:00 -0700, "mrelectron" <ma**********@gmail.com>
wrote:
hi:

Nir Aides who wrote the rpdb debugger has enhanced it and stuck a
frontend on it whoo-hoo. it is fantastico! see and download it at
http://www.digitalpeers.com/pythondebugger/

cheers mark


Hello Mark,

thank you for this info.

I downloaded it, and yes, it looks really great!
Maybe I can dismiss Hap Debugger, because
also it is written in Python (wxPython) itself.

--
Franz Steinhaeusler
Aug 9 '05 #2
Thanks for the compliments.

I really believe Winpdb is not just another Python debugger, and that
it will be a real step forward in the quality of Python debuggers once
it matures.

Also, don't worry about the .com url, it is a GPL debugger.

Winpdb is still a BETA despite the version number which is 1.0.1
so I will appreciate feedback on bugs, unexpected behavior, or
suggestions.

Finally, If you think it is great, don't hesitate to share your opinion
with others.

Nir

Aug 11 '05 #3
Nir:
Winpdb is still a BETA despite the version number which is 1.0.1
so I will appreciate feedback on bugs, unexpected behavior, or
suggestions.


Value tips when you hover over variables in the editor would be
useful. A hovering user can be detected with the wxEVT_STC_DWELLSTART
notification.

Neil
Aug 11 '05 #4
On 10 Aug 2005 23:10:57 -0700, ni*****@gmail.com wrote:

Hello Nir,
Thanks for the compliments.

I really believe Winpdb is not just another Python debugger, and that
it will be a real step forward in the quality of Python debuggers once
it matures.
Yes, looks very promising ;)
Also, don't worry about the .com url, it is a GPL debugger.

Winpdb is still a BETA despite the version number which is 1.0.1
so I will appreciate feedback on bugs, unexpected behavior, or
suggestions.
[...]


Ok :)

* Remember last opened files (in launch)

* configurable shortcuts (I'm used to VC++ F10 step, F11 step into,
Shift-F11 Step out).

* As Neil suggested, Call Tips would be great (hovering over a
variable).

* A nice icon ;)

* Ability to save Positions (Sash positions, if you drag the windows).

* Possibility to close some windows (in my case, I would (most times)
close "Console" and "Threads" or even better assign Shortcuts
(example F4 => Toggle Threads window would be cool).

* In VC++, there is also the possibility to Change a Variable with
Shift-F9 (Quick Watch) and to change the program pointer with
Ctrl-Shift 10.

* bug: Open File (with browse it works); If I paste the filepath+name
into the text field, it says "Error - File not found".
I think: browse => "filename": the braces are important
What do the letters in the margin mean?
I saw: "L", "R" and "C".

Cheers,
--
Franz Steinhaeusler
Aug 11 '05 #5
On Thu, 11 Aug 2005 13:09:08 +0200, Franz Steinhaeusler
<fr*****************@gmx.at> wrote:

Winpdb is still a BETA despite the version number which is 1.0.1
so I will appreciate feedback on bugs, unexpected behavior, or
suggestions.


List of current breakpoints (VC Alt-F9), where you can quickly
switch on/off them with a list of checkboxes.
--
Franz Steinhaeusler
Aug 11 '05 #6
Thanks for the valuable input. I will look into it.

In the mean time, until I implement your suggestions, here are some
workarounds for the problems you experienced.

1.
In the "Open Source" dialog, instead of typing the full path of the
script you wish to load, try typing just its name (e.g. 'foo.py'
instead of 'c:\somepath\foo.py')

2.
Until I add a GUI dialog for that purpose, use the console to enable
and disable groups of breakpoints.
type 'bl' to list the breakpoints, and then type for example 'bd 2 5 8'
to disable breakpoints 2, 5, and 8, or any other combination. 'be' is
used to enable breakpoints and 'bc' to clear them. You can use help
<command> to read further on these commands.

BTW, the console allows setting conditional breakpoints, too.

3.
Until I add a GUI command for jumping, you can use the console to jump
to a different line:
type for example 'jump 33' to jump to line 33.
Jumps are constrained to the limits of the current frame of the thread.

As for the letters 'C', 'L', and 'R' you have seen, they represent the
last debugger event for that thread, where:
'C' - means a Call to a function.
'L' - means about to execute this line.
'R' - means, about to return from this function
'E' - means, an exception was raised (use the analyze mode to examine
it)
'*' - means, this thread is not broken yet (it is probably doing some
c++ code...)

you can read about it with 'help list' from the console

Again, thanks for the input,
Nir

Aug 11 '05 #7
On 11 Aug 2005 05:19:31 -0700, ni*****@gmail.com wrote:
Thanks for the valuable input. I will look into it.
You're welcome.

In the mean time, until I implement your suggestions, here are some
workarounds for the problems you experienced.
[...]


Really, you want to implement? cool ;)
If you don't mind, I will continue in your
sf "open discussion" forum.

Cheers,
--
Franz Steinhaeusler
Aug 11 '05 #8
It will be integrated in the next release of SPE 0.7.5.b, as you can
already see screenshots. For those who are impatient, check out the
SVN.

Stani

http://pythonide.stani.be
http://pythonide.stani.be/screenshots

Aug 13 '05 #9

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

Similar topics

30
by: David Mertz | last post by:
Pythonistas, My loyal fans :-) will remember that I did a Python IDE roundup for _Charming Python_ a couple years back. Now I have another such roundup lined up... not the very next article,...
4
by: Glenn Reed | last post by:
This is just a general comment after trying my hand at some serious python programming for the first time. Have played with it for some time but this is the first serious thing I've done with it. ...
34
by: Erik Johnson | last post by:
This is somewhat a NEWBIE question... My company maintains a small RDBS driven website. We currently generate HTML using PHP. I've hacked a bit in Python, and generally think it is a rather...
4
by: Chris P. | last post by:
I've been having a problem with PythonWin that seemed to start completely spontaneously and I don't even know where to START to find the answer. The only thing I can think of that marks the point...
6
by: Tran Tuan Anh | last post by:
Hi all, I am new to Python and desperated to look for a good Python debugger. I mean a debugger with source coding tracking. For C/C++, emacs and gud offers execellent development env. The...
0
by: peter | last post by:
Hello all, I would like to debug my python libraries, written in c++, with GDB (gnu debugger) I'm using the mingw compiler in a windows environment. As development environment I use eclipse...
17
by: hanumizzle | last post by:
I have used Perl for a long time, but I am something of an experimental person and mean to try something new. Most of my 'work' with Vector Linux entails the use of Perl (a bit of a misnomer as it...
20
by: krypto.wizard | last post by:
Is there any editor or IDE in Python (either Windows or Linux) which has very good debugging facilites like MS VisualStudio has or something like that. I like SPE but couldn't easily use winPDP....
40
by: kimiraikkonen | last post by:
Hi, For experienced with Pyhton users, which developing software and enviroment would you suggest for Pyhton programming? Compiler+Editor +Debugger. Also what are your suggestions for beginners...
12
by: WaterWalk | last post by:
Hello. I wonder what's the effective way of figuring out how a piece of python code works. With C I often find it very useful to be able to run the code in step mode and set breakpoints in a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.