Re: Enable Debugging ("Tracing") in Tiny-Fu-based-Script-Fu?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael Schumacher wrote:
> in the Tiny-Fu FAQ (http://www.ve3syb.ca/software/gimp/tiny-fu-faq.html),
> there's a remark about debugging scripts:
[snip]
> Can this be enabled globally for all scripts - the scripts shipped with
> GIMP and third-party scripts, too? If so, it might be a good idea to turn
> this on in the development branch.

Yes, it could be turned on for all scripts. When you see how much output that 
would generate I think you will quickly realize that it is a bad idea. Not to 
mention the time it takes to output all the tracing information slows down 
script execution.

 > If not: there should be an example how tracing can be enabled, and doing so
 > should be encouraged for script development.

Thanks for the reminder. I will add an entry to the FAQ about how to turn on 
tracing mode. Tracing mode can help during script development. I'm not sure 
about encouraging it. I'd rather people were encouraged to format scripts 
properly.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/           |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172      |"Same thing we always do, Pinkutus:
                                 |  Try to assimilate the world!"
#include <disclaimer/favourite> |              -Pinkutus & the Borg
_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux