LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

How To Debug Linux C Programs Effectively Using The Debugger

Posted 02-20-2019 at 02:23 PM by rtmistler
Updated 02-25-2019 at 10:23 AM by rtmistler

Introduction

The purpose of this blog is to provide a guide to Linux C (and C++) programmers as to how to use the Gnu DebuGger, GDB, effectively.

My reasons for writing this are because I participate a great deal in the Linux Questions site and view, plus respond to a number of questions in the Programming forum, and I notice that programmers of various experience seem to be lacking in either experience+knowledge, or initiative, to use the debugger.

This blog...
Attached Images
File Type: png emacs-1.png (67.5 KB, 9 views)
File Type: png emacs-2.png (42.1 KB, 6 views)
Moderator
Views 859 Comments 1 rtmistler is offline
Old

Everyday Shortcuts

Posted 07-14-2017 at 04:33 PM by rtmistler
Updated 09-07-2017 at 09:09 AM by rtmistler

A recent blog posting highlighted to me a former shortcut.

This one is supposed to be fun and not "in your face", or "I'm smarter than you!", just some stuff that comes to mind over the years. Oddly enough, sometimes I comment about these things, to people my age, and they have no idea about them. You'd figure ... but then again, I guess we all have variations in our teachings and life experiences. I guess I also had good math teachers.

These are...
Moderator
Posted in Uncategorized
Views 1734 Comments 3 rtmistler is offline
Old

Linux Set-Up, Write, Compile, & Debug of C Programs for Beginners

Posted 07-14-2017 at 03:43 PM by rtmistler

If you are a beginning programmer and have questions about how to get started, this blog entry may be helpful to guide you. If you already can edit code, compile it, run it, and debug it, then this blog entry is not for you.

This blog entry is not about Windows, MAC, graphical programming, or Integrated Development Environments (IDE).

This blog entry is intended to guide a new programmer to learn how to set-up C tools under Linux, edit and compile code, and how to debug....
Moderator
Views 1494 Comments 0 rtmistler is offline
Old

Debugging C Programs Using GDB (Including core dumps!)

Posted 12-01-2015 at 02:32 PM by rtmistler
Updated 08-30-2018 at 11:43 AM by rtmistler

The added (including core dumps!) to my title is actually the main reason for me deciding to write this entry.

So very many times I see new programmers who write something, it compiles, so they run it, and then they are stumped because their programming resulted in a segment violation and possibly a core file. And now they're stuck, not knowing why this occurred and also having no real idea how to proceed.

Background - What Likely Led to This State/Situation
...
Moderator
Views 5038 Comments 0 rtmistler is offline
Old

LQ Questions of ... Question

Posted 07-23-2015 at 02:50 PM by rtmistler
Updated 07-27-2015 at 07:20 AM by rtmistler

In volunteering to monitor LQ questions, I'm looking at new questions that are incomplete or just bad questions.

These are my notes intended to submit to Jeremy once this monitor period has progress sufficiently.

Update 7/27/15 - Stopping this activity. Conclusions + follow-up (some shown within) Due to my time requirements this week I likely will not have sufficient time to keep pace as I did a few days last week. Not all the questions were ideal for the canned response....
Moderator
Posted in LQ Information
Views 3146 Comments 15 rtmistler is offline

  



All times are GMT -5. The time now is 03:51 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration