Debugging Tips and Tricks

There are three main techniques one can use when working with Script-Fu scripts that aren't working correctly. The techniques range from the Script-Fu equivalent of using print statements to check variable contents, to tracing script execution, to a more advanced and hands-on approach involving the Script-Fu console and cutting/pasting of Scheme statements.

  1. gimp-message (or use display [if GIMP run from command line])
  2. tracing
  3. console and cut/paste
software/sf/debug.txt · Last modified: 2012/09/21 14:08 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Valid XHTML 1.1 Valid CSS! Best viewed with any browser Ohloh profile for Kevin Cozens Driven by DokuWiki Recent changes RSS feed