I tried to debug my code relating to the custom backtesting. When it came to the line #120, the debugging session always ends. I guess the condition of Status("action") == actionPortfolio wasn't TRUE.
So would you please advise what to do in the case I have to debug the custom backtesting.
As @mradtke wrote, you need to use _TRACE() but enabling debugging for various “actions” (not only actionBacktest as now) is something that is planned.