Bugs item #1248127, was opened at 2005-07-30 14:29
Message generated for change (Comment added) made by isandler
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1248127&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Joseph Heled (pepster)
Assigned to: Nobody/Anonymous (nobody)
Summary: set of pdb breakpoint fails

Initial Comment:
I can't set any pdb breakpoint. I try the command,

(Pdb) break a:847
Breakpoint 4 at /home/joseph/743/rod/a.py:847

I get the message,

"pdbtrack: Traceback cue not found"

The breakpoint is never activated.

Python 2.4.1 (#2, Mar 30 2005, 21:51:10) 
[GCC 3.3.5 (Debian 1:3.3.5-8ubuntu2)] on linux2


----------------------------------------------------------------------

Comment By: Ilya Sandler (isandler)
Date: 2005-07-31 13:22

Message:
Logged In: YES 
user_id=971153

This does not seem like a bug in python. 

It might be a bug in emacs' python-mode..
(http://sourceforge.net/projects/python-mode/)
However, even that is not clear..

C-cC-c in emacs runs py-execute-buffer which seems to make a
copy of the current buffer and run python on that
copy...Which would obviosly impact handling of filenames

I think the mainstream way to run pdb under Emacs is the
pdb-mode. (M-x pdb)

My suggestion would be to close this bug.


----------------------------------------------------------------------

Comment By: Joseph Heled (pepster)
Date: 2005-07-30 23:30

Message:
Logged In: YES 
user_id=86677

I tried a simple example outside emacs and it worked.

Here is how it fails in emacs -
visit a python buffer
Do C-cC-c  (py-execute-buffer)
run pdb.run("some code")
Try to set a breakpoint - get the "pdbtrack: Traceback cue
not found"
, and breakpoint never executed.

I am not sure if it is supposed to work or not.



----------------------------------------------------------------------

Comment By: Ilya Sandler (isandler)
Date: 2005-07-30 17:07

Message:
Logged In: YES 
user_id=971153

Could you provide an example (if possible a small one)?
There are many reasons why a breakpoint may not be reachable..

Also it seems like you are running pdb under emacs, is it
correct?
Can you reproduce the problem outside of emacs?




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1248127&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to