I just made a tiny little shell script that helps me a bit with debugging of plugins, and I'd like to share it. It really is a lifesaver and saves the time spent doing ps -A, and then typing in the process manually in gdb.
#!/bin/bash plug_debug=`ps -eo pid,comm | grep $1 | sed s/'$1'//`; gdb attach $plug_debug Just that simple, it accepts the command line argument of the name of the plugin you want to debug, and then launches gdb :), was a nice learning experience to figure out how to use sed. Brohan _______________________________________________ Gimp-developer mailing list [email protected] https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
