Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > GIMP (GNU Image Manipulation Program) > Re: making a sc...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 19 of 24 Topic 3079 of 3157
Post > Topic >>

Re: making a script

by Niels Giesen <niels.giesen@[EMAIL PROTECTED] > Sep 26, 2008 at 10:03 PM

houghi <houghi@[EMAIL PROTECTED]
> writes:

>> Another way of debugging your scripts is turning tracing on, by issuing

>> (tracing TRUE), so, for instance: 
>>
>> gimp -ic -b "(begin (tracing TRUE) (your code ... ) (gimp-quit
>> RUN-NONINTERACTIVE))"
>>
>> and you can turn it off with (tracing FALSE).
>
> OK. This becomes interesting.

Ehm, wait, apparently this does not seem to work in real batch mode
(only in gimp -i -b - , i.e. reading from standard input, effectively
giving a REPL, which is also what I use in gimp-mode).

So if you want to debug your scripts, run, i sequence,

gimp -i -b - 
(tracing 1)
(the pieces of code that you would rather like to give as a shell
argument...)

> I will give feedback later on how things went. With your permission, I
> will put the information online as well. I willeven try to get it on
> docs.gimp.org if you allow me.

Sure, this is free information, as knowledge always should be. Just
make sure it is correct and do not mention my name ;)

Niels.
 




 24 Posts in Topic:
making a script
-=MrX=- <herrie@[EMAIL  2008-09-22 18:41:57 
Re: making a script
houghi <houghi@[EMAIL   2008-09-22 21:21:18 
Re: making a script
houghi <houghi@[EMAIL   2008-09-22 23:24:26 
Re: making a script
-=MrX=- <herrie@[EMAIL  2008-09-23 16:51:10 
Re: making a script
houghi <houghi@[EMAIL   2008-09-23 17:07:05 
Re: making a script
houghi <houghi@[EMAIL   2008-09-23 22:24:15 
Re: making a script
-=MrX=- <herrie@[EMAIL  2008-09-24 16:03:14 
Re: making a script
houghi <houghi@[EMAIL   2008-09-24 16:53:08 
Re: making a script
-=MrX=- <herrie@[EMAIL  2008-09-25 08:21:13 
Re: making a script
houghi <houghi@[EMAIL   2008-09-25 11:20:33 
Re: making a script
Troy Piggins <usenet-0  2008-09-23 08:00:12 
Re: making a script
floyd@[EMAIL PROTECTED]   2008-09-25 04:57:05 
Re: making a script
houghi <houghi@[EMAIL   2008-09-25 16:05:01 
Re: making a script
houghi <houghi@[EMAIL   2008-09-26 01:15:43 
Re: making a script
Niels Giesen <niels.gi  2008-09-26 09:53:44 
Re: making a script
houghi <houghi@[EMAIL   2008-09-26 12:04:58 
Re: making a script
Giacomo Boffi <giacomo  2008-09-26 12:34:41 
Re: making a script
houghi <houghi@[EMAIL   2008-09-26 12:56:37 
Re: making a script
Niels Giesen <niels.gi  2008-09-26 22:03:52 
Re: making a script
houghi <houghi@[EMAIL   2008-09-26 20:38:05 
Re: making a script
floyd@[EMAIL PROTECTED]   2008-09-26 01:21:17 
Re: making a script
houghi <houghi@[EMAIL   2008-09-26 12:51:49 
Re: making a script
houghi <houghi@[EMAIL   2008-09-26 22:13:07 
Re: making a script
Dirk Dietrich <kaufinf  2008-10-03 18:16:16 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Dec 4 17:29:56 CST 2008.