the phrygian cap


luisbg

@luisbg

luis@debethencourt.com



Ohloh profile for Luis de Bethencourt
Blogalia




<Abril 2018
Lu Ma Mi Ju Vi Sa Do
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            

Creative Commons License


planet gnome
planet ubuntu
alberto ruiz
andy wingo
jeff fortin
slomo's blog
jan schmidt
vincent's random waffle



"all religions, arts and sciences are branches of the same tree. all these aspirations are directed toward ennobling man's life, lifting it from the sphere of mere physical existence and leading the individual towards freedom." albert einstein

GStreamer and emacs



Debug logs are an extremely helpful tool in the GStreamer developer's toolbox.
Most will say you can't live without them.

Something I've always missed when reading them is a convenient way to jump back and forth between the logs and the source code. So I went ahead and wrote an emacs mini mode that does exactly this:

emacs-gstreamer
an emacs mini module to navigate GStreamer debug logs.


When hitting Enter or M-. in a log file it will open the source code to the line that generated that debug message. If you have multiple emacs windows open, it will open the GStreamer source code file in the second to last active so you can continue reading the log in the active window. If you only have one window open it will open the source code file in the current one. After that you can use your favorite window and buffer handling to surf the files. Read, learn, write, and develop.

Click here to watch a screencast


To get it running you need to have loaded a tags table with the source code. Read this other article to learn how. I run it as part of my gst-uninstalled script.
Then just run M-x gst-debug in the debug log file's buffer.

Let me know if it helps your development workflow!

6 Comentarios


Referencias (TrackBacks)

URL de trackback de esta historia http://luisbg.blogalia.com//trackbacks/74602

Comentarios

1
De: Laurel Fecha: 2018-02-16 06:09

I have coding experience of 7 years almost in other programming languages. I read about debug logs but in my coding experience, sometimes error logs are the key to get actual issue. It makes debugging 1000 times easier. I just started working on GStreamer now-a-days and was searching on how to get its error log. So thanks Luis for writing it up.



2
De: Anónimo Fecha: 2018-03-21 10:49

Gstreamer. Do you have pulseaudio introduced? Here is an old page about Intrepid Ibix: Best Essay Writing Service at Essay Tigers

Furthermore, obviously it says evacuate Pulseaudio. In those days obviously a decent nom de plume pulseaudio was evil entity ("From beasties and ghosties and pulseaudio, Good Lord Preserve Us")



3
De: Marine Fecha: 2018-03-21 10:50

Gstreamer. Do you have pulseaudio introduced? Here is an old page about Intrepid Ibix: Best Essay Writing Service at Essay Tigers

Furthermore, obviously it says evacuate Pulseaudio. In those days obviously a decent nom de plume pulseaudio was evil entity ("From beasties and ghosties and pulseaudio, Good Lord Preserve Us")



4
De: Steven David Fecha: 2018-04-12 10:21

Emms can be arranged to be a moderate player inside Emacs. In any case, university assignments help. Emms additionally accompanies a large group of highlights which can be empowered: play gushing sound, label music records, show collection workmanship, look for verses, associated with MPD, and substantially more. In the event that you have various emacs windows open, it will open the GStreamer source code document in the second to last dynamic so you can keep perusing the sign in the dynamic window.



5
De: james Fecha: 2018-04-17 15:17

My pleasure to being here on your blog visit this link voyance au telephone
voyance au telephone



6
De: trysoclean Fecha: 2018-04-19 20:35

A debt of gratitude is in order for this incredible post, i discover it exceptionally intriguing and extremely well thoroughly considered and set up together. I anticipate perusing your work later on. trysoclean



Nombre
Correo-e
URL
Dirección IP: 23.20.165.182 (b070ef5704)
Comentario
¿Cuánto es: mil + uno?

©2007-2015 luis de bethencourt guimera
powered by Blogalia