Difference between -debuginfo and -debugsource

What’s the difference between -debuginfo and -debugsource packages?

I’ve just been poking at these recently when trying to do debugging in MonoDevelop.

As far as I saw, -debuginfo gives you the extended info for gdb and similar processes to give better stack traces etc. Installing it will stop the messages about needing to run “zypper…” to be able to supply more info when you get segfaults and the like. -debugsource gives you the actual source code to them step through.

I guess it is the debugging equivalent to bin and src - one is what the computer needs, the other is for the user to look at :slight_smile: