The Mer Wiki now uses your Mer user account and password (create account on https://bugs.merproject.org/)


Debugging

From Mer Wiki
(Difference between revisions)
Jump to: navigation, search
(Enabling Core files =)
Line 14: Line 14:
  
 
  echo "* soft core unlimited" >> /etc/security/limits.conf
 
  echo "* soft core unlimited" >> /etc/security/limits.conf
 +
 +
= Installing common debug tools =
 +
 +
There is package group called "Mer Debugging" that provides some debugging tools that are available in Mer Core, e.g., gdb, and some common -debuginfo packages. This can be installed with following command.
 +
 +
zypper install -t pattern mer-debugging
  
 
[[Category:Debugging]]
 
[[Category:Debugging]]

Revision as of 07:12, 12 July 2012

Enabling Mer debuginfo package

Enable debuginfo packages for mer repository:

sed -i 's/enabled=0/enabled=1/g' /etc/zypp/repos.d/mer-core.repo

Enabling Core files

Add more information to core files:

cat > /etc/sysctl.d/core.conf << EOF
kernel.core_uses_pid = 1
kernel.core_pattern = /tmp/core-%e-%s-%p-%t
fs.suid_dumpable = 2
EOF
echo "* soft core unlimited" >> /etc/security/limits.conf

Installing common debug tools

There is package group called "Mer Debugging" that provides some debugging tools that are available in Mer Core, e.g., gdb, and some common -debuginfo packages. This can be installed with following command.

zypper install -t pattern mer-debugging
Personal tools