Hi,
I am trying to learn python and use the gud/pdb from emacs. The
functionality that I am used to under gud/gdb and gud/perldb is missing, or
I don't know how to make it work.
Specifically: when I start pdb on a script file, the source does not show in
an another window as it does with perldb and gdb. If I bring it up in an
another window,
the ^X SPC set a break, but the subsequent gud-next commands do not move the
execution cursor in the source file window.
Any help will be greatly appreciated. 2 5007
"Yuri Shtil" <ys****@synopsy s.com> writes: I am trying to learn python and use the gud/pdb from emacs. The functionality that I am used to under gud/gdb and gud/perldb is missing, or I don't know how to make it work. Specifically: when I start pdb on a script file, the source does not show in an another window as it does with perldb and gdb. If I bring it up in an another window,
Your source will show up when you step into your program, e.g. by
doing an "S" pdb command.
the ^X SPC set a break, but the subsequent gud-next commands do not move the execution cursor in the source file window.
I never use gud's commands while in pdb mode because they didn't work
- at least not as I expected - and I've already been familiar with pdb
syntax. You'd better use pdb commands in its debugger window.
Greetings,
Heike
"Yuri Shtil" <ys****@synopsy s.com> writes: I am trying to learn python and use the gud/pdb from emacs. The functionality that I am used to under gud/gdb and gud/perldb is missing, or I don't know how to make it work. Specifically: when I start pdb on a script file, the source does not show in an another window as it does with perldb and gdb.
The source appears for me if I do C-c C-s immediately after startup.
If I bring it up in an another window, the ^X SPC set a break, but the subsequent gud-next commands do not move the execution cursor in the source file window.
I can in general set breakpoints using C-x SPC in the source buffer
after the source appears, which will be hit after I resume
execution. So I guess I don't observe your problems. I am using a
custom "pdb" executable script though, maybe this helps:
#!/bin/sh
exec python $HOME/opt/python-2.3/lib/python2.3/pdb.py "$@"
--
Benjamin Rutt This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Christian Seberino |
last post by:
I am looking at the ELSE home page and trying to figure out if I should
invest the time to learn about the ELSE minor mode for Emacs.
Is there any programmer out there using ELSE that is getting great
benefit from it?
What does ELSE minor-mode for Emacs do that is so great for you?
Chris
|
by: Tuxtrax |
last post by:
Hi all
My editor of choice on linux for python, bar none, is xemacs. I love the
python mode that detects a python file and handles indentation and
coloration for me automagically.
I have been using a powerbook for a while now, and I finally found emacs
for aqua in OS X Jaguar (10.2.8). I downloaded it from porkrind.com. The
version of emacs is 21.3 I believe. Anyway, not only does it *not*
detect python files automatically, but it...
|
by: Thomas Lindgaard |
last post by:
Hello
I am probably going to start a war now... but so be it :)
I just want to hear what all you guys who eat pythons for breakfast use
for python coding. Currently I use Kate, but I would really like an IDE
with debugger and a source browser (ie. one the I can use to browse
through modules etc. when looking for just the right curses stuff and such
- I am a newcomer to Python).
|
by: julio |
last post by:
Sorry but there is no another way, c# .net and mono are going to rip
python, not because python is a bad lenguage, but because is to darn old
and it refuses to innovate things, to fix wrong things, just because
retarded backwards compatibility and because the python comunity and
developers refuses to consider tools as being almost as important as the
language itself.
What does c# .net has that python doesnt ? (significant features)
--...
|
by: Thomas Bartkus |
last post by:
Does anyone use emacs together with both WordStar key bindings and python
mode? I'm afraid that Wordstar editing key commands are burned R/O into my
knuckles!
I would like to play with emacs for Python editing but I'm having (2)
problems.
1) When I load a .py file, emacs automatically overrides my wordstar-mode
with python-mode, forcing all the keybindings back to emacs native keys.
Why?
| |
by: Xah Lee |
last post by:
Summary: when encountering ex as a unit in css, FireFox (and iCab) did
not take into account the font-family.
Detail:
http://xahlee.org/js/ff_pre_ex.html
Xah
xah@xahlee.org
∑ http://xahlee.org/
|
by: emin.shopper |
last post by:
Emacs seems to freeze when doing certain shell commands on Microsoft
Windows. The following is a simple example with Xemacs:
----------------------------------------------------------
Microsoft Windows XP
(C) Copyright 1985-2001 Microsoft Corp.
|
by: levander |
last post by:
I've been using pdb under emacs on an Ubuntu box to debug python
programs. I just upgraded from Ubuntu Edgy to Feisty and this combo
has stopped working. Python is at 2.5.1 now, and emacs is at 21.41.1.
It used to be I could just "M-x pdb RET pdb <script-nameRET" and be
presented with a prompt where I could debug my script, as well as an
arrow in another source code buffer indicating where I am in the
source code.
Now however, when...
|
by: Xah Lee |
last post by:
http://xahlee.org/emacs/modernization.html
]
The Modernization of Emacs
----------------------------------------
THE PROBLEM
Emacs is a great editor. It is perhaps the most powerful and most
versatile text editor. And, besides text editing, it also serves as a
|
by: Richard Szopa |
last post by:
Hi All,
I am a devoted Emacs user and I write a lot in Python. However, I
never managed to get my Emacs configuration right for this purpose.
There were some discussions on this, but the threads that show if I
search the group are either old or not so relevant.
I need the following features:
0) Of course, syntax coloring and so on... But this works good enough
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
| |
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |