From: roc lee <roc.lee.80@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Cannot run PDB properly in emacs 22.1.1 on windows-xp
Date: Thu, 10 Jan 2008 23:00:39 -0800 (PST) [thread overview]
Message-ID: <fb8ce2d3-83d9-493c-ab46-0a646e01dd72@q77g2000hsh.googlegroups.com> (raw)
In-Reply-To: mailman.5998.1199997035.18990.help-gnu-emacs@gnu.org
On 1月11日, 上午4时30分, Nick Roberts <nick...@snap.net.nz> wrote:
> > If the command line was "python -m pdb test.py", as sugested,
> > the message should be:
>
> Where does it suggest this?
> >
> > The debug message was not displayed immediately when the debug command
> > was inputted, but was thrown out all together after the "q" was given.
> >
> > Using "python c:\python25/Lib/pdb.py test.py", I got:
> >
> > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> > Current directory is c:/python25/Lib/
> > Error: test.py does not exist
>
> default-directory is set to c:/python25/Lib from your previous attempt.
> Specifying the path to test.py should work:
>
> python c:\python25/Lib/pdb.py c:/yourpath/to/test.py
>
> If you don't specify the path to test.py you need to make sure that
> default-directory is the directory test.py is in, e.g., by doing M-x dired
> in that directory first.
>
> Why not just do:
>
> pdb c:/yourpath/to/test.py
> or
> pdb test.py
Thank you for your response.
But my emacs cannot execute such commands:
"apply: Searching for program: no such file or directory, pdb"
I copied "pdb.pyc" and "pdb.py" to "c:\Python25\".
Running "pdb.pyc test.py", the response was:
apply: Searching for program: no such file or directory, pdb.pyc
Running "c:\python25\Lib\pdb.pyc test.py", the response was:
"apply: Spawning child process: invalid argument"
With "pdb.py", I got the same result.
>
> ?
>
> as the default name for gud-pdb-command-name is just "pdb".
>
> --
> Nick http://www.inet.net.nz/~nickrob
next prev parent reply other threads:[~2008-01-11 7:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-10 10:07 Cannot run PDB properly in emacs 22.1.1 on windows-xp roc lee
2008-01-10 20:30 ` Nick Roberts
[not found] ` <mailman.5998.1199997035.18990.help-gnu-emacs@gnu.org>
2008-01-11 7:00 ` roc lee [this message]
2008-01-11 10:59 ` Nick Roberts
2008-01-11 13:03 ` Thierry Volpiatto
2008-01-11 15:30 ` Eli Zaretskii
[not found] ` <mailman.6024.1200049214.18990.help-gnu-emacs@gnu.org>
2008-01-14 10:53 ` roc lee
2008-01-14 11:55 ` Nick Roberts
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fb8ce2d3-83d9-493c-ab46-0a646e01dd72@q77g2000hsh.googlegroups.com \
--to=roc.lee.80@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).