How to rerun the same macro in the same root (6) session?

Dear all,
before root 6 it was possible to re-run a macro in the same root-session.
Now I am using root 6.04.08 and it looks it is no longer true:

Below the macro code but it happens whatever macro you choose I think:

  double x = 10;
  double y = 1.3;
  double z = TMath::Power(x,y);
  std::cout << "z = " << z << "\n";
  std::cout << "z = " << z << "\n";

It was a nice feature to modify a macro and run it again without closing and reopening a root session.
Am I missing something?

Many thanks in advance and best regards,
Marco Bomben

1 Like


This is a known issue. See for example:
[url]How to reload macro in root6
[url]Macro loading in root6

Cheers, Bertrand.

…and yes, it’s a huge issue, but we don’t have the resources to work on this in a more reasonable speed…

Cheers, Axel.

Thank you all for the information. And good luck with your hard work :slight_smile:
Best regards,
Marco Bomben