How to Debug during optimization in the Strategy Test ?

 

I get problem as write data to sqlite as OnTesterDeinit() , lots data lost.

I check the doc get that "Print is not working in  optimization in the Strategy Test."

How can I make some message during   optimization ?

 
Redirect your printf statements to a Textfile.
 
Thank you.