[scribus] How to debug my Scribus scripts ?

Stephane Santon m.scribus at santonum.eu
Sat Feb 8 13:38:09 UTC 2014


Le 08/02/2014 13:41, Gregory Pittman a écrit :
> There is a console of sorts in Scribus, but I don't use it.
> A good starting point I think is to play with some small scripts to modify their behavior from what you find in the wiki.

It's what I do.

> When you're running a script in Scribus, 'print' goes nowhere.

Arghhh... Bad thing... So no output console...

> What I typically do if I need such output while debugging is to create a messageBox showing what I need to see.

It's my way also, but sometimes a bit tedious when there are a lot of 
trace points.

> Don't hesitate to come to the list with questions if you get stuck.
> Greg

OK thanks :-)


> On February 8, 2014 4:19:46 AM EST, Stephane Santon <m.scribus at santonum.eu> wrote:
>>
>> So, a beginner's question : How to debug my Scribus scripts ?
>> - How to write into the console from my script ?
>> - Where does 'print' command write ?

-- 
Stephane Santon
Saintes, La Rochelle, Bordeaux, Cognac - France



More information about the scribus mailing list