Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
howto:panel_plugin_debug [2009/01/14 13:22] – typo + make a title 88.172.125.130 | howto:panel_plugin_debug [2009/01/25 12:02] – 88.172.125.130 | ||
---|---|---|---|
Line 28: | Line 28: | ||
{{wiki: | {{wiki: | ||
- | ==== More useful call to Valgrind | + | === More useful call to Valgrind === |
G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --tool=memcheck --leak-check=full \ | G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --tool=memcheck --leak-check=full \ | ||
Line 49: | Line 49: | ||
> $HOME/ | > $HOME/ | ||
- | ==== Using GDB on running instances | + | === Using GDB on running instances === |
If you want an interactive debug session with GDB, you can simply find the process id of the plugin by running | If you want an interactive debug session with GDB, you can simply find the process id of the plugin by running | ||
Line 65: | Line 65: | ||
====== Some tips ====== | ====== Some tips ====== | ||
* By creating your own desktop entry file, it will never get overwritten by any installation, | * By creating your own desktop entry file, it will never get overwritten by any installation, | ||
- | * You can point the Exec= key to your development directory, for instance / | + | * You can point the Exec= key to your development directory, for instance / |