Stoppt die Vorratsdatenspeicherung! Jetzt klicken &handeln! Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos
  und Materialien:

Skip to content


Screencast: Debugging with Emacs & GDB

Hey there.
I wish I’d be posting more recently, but haven’t really had the time to do so.
I just wanted to share with you a small screencast I created today on debugging with emacs and gdb, since I think it might be of interest to someone else as well.

You can check out the video at my blip.tv channel: http://bakkdoor.blip.tv/
Currently the video is being converted to flash video (.flv), so you might want to check out the .ogv video file here, if it’s not done yet: http://blip.tv/file/2804484

[Update:]
Video is available now. You can also watch it here:

Anyhow, I hope you like it and I’d like to hear some feedback.

Btw, the programm I’m debugging in the video is stupidvm, a small & stupid virtual machine I’ve started working on 2 weeks ago, written in C.
You can check out the code either on gitorious or github.

Feedback is, as always, welcome :)
I hope you like it.

Posted in General. Tagged with , , , , , , , , , , , .

6 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. Nice work, please keep it up with more screencasts like these

    Thanks!

  2. nwidger said

    Great post, since I discovered the emacs interface to gdb, my life has been so much easier. I have a question though… how did you get those tabbed windows in the gdb-many-windows layout? For instance, the Locals/Registers buffer and Breakpoints/Threads buffers can be selected with tabs. Maybe you’re using a new version of emacs than me, but I couldn’t find anyway to set that up.

  3. I’m using GNU Emacs 23.1.3
    Check your version. If you’re on Ubuntu you might have to get the latest sources and compile it yourself, as I think that’s what I did (afaik the official version in Ubuntu/Debian is still 22.x but I find 23.x much nicer).
    You can get 23.1.3 here:
    http://ftp.gnu.org/pub/gnu/emacs/
    (emacs-23.1.tar.bz2)

    Great that you liked the screencast. If I have something else that I find interesting, I’ll make another one. If you have any ideas though, as to what you’d like to see, feel free to give me some input and I’ll think about it.

  4. fnord123 said

    Karmic has emacs 23.1.4. Many distros also have a package called “emacs-cvs” available which has more up to date versions. This was really useful before emacs 23 was officially released.

    http://packages.ubuntu.com/karmic/emacs

  5. Oh, good to know. Thanks for the info. I’m still using jaunty, currently. Guess I’ll update sometime soon.

Continuing the Discussion

  1. Tweets die Screencast: Debugging with Emacs & GDB – Adztec Independent - Blog erwähnt -- Topsy.com linked to this post on 4. November 2009

    [...] Dieser Eintrag wurde auf Twitter von grantmichaels, bakkdoor erwähnt. bakkdoor sagte: New blog post: Screencast: Debugging with Emacs & GDB (http://cli.gs/eZ3yp) #emacs #c #debugging [...]

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.


Ihr Browser versucht gerade eine Seite aus dem sogenannten Internet auszudrucken. Das Internet ist ein weltweites Netzwerk von Computern, das den Menschen ganz neue Möglichkeiten der Kommunikation bietet.

Da Politiker im Regelfall von neuen Dingen nichts verstehen, halten wir es für notwendig, sie davor zu schützen. Dies ist im beidseitigen Interesse, da unnötige Angstzustände bei Ihnen verhindert werden, ebenso wie es uns vor profilierungs- und machtsüchtigen Politikern schützt.

Sollten Sie der Meinung sein, dass Sie diese Internetseite dennoch sehen sollten, so können Sie jederzeit durch normalen Gebrauch eines Internetbrowsers darauf zugreifen. Dazu sind aber minimale Computerkenntnisse erforderlich. Sollten Sie diese nicht haben, vergessen Sie einfach dieses Internet und lassen uns in Ruhe.

Die Umgehung dieser Ausdrucksperre ist nach §95a UrhG verboten.

Mehr Informationen unter www.politiker-stopp.de.