I am wondering is there any way of debugging selector scripts for TChain::Process() which is used for processing trees, using a debugger. If I could use a debugger which allows me to run the code line by line, it will be super useful!
I found a way! All I needed to do was add “+g” to the end of the name of the file.
Here is an example.
mychain->Process(“analysis_calc.C+g”, myfile);