Hello, is there a way to get the macro name even if the macro is compiled.
Typically, I wrote this test.C example
[code]#include <TInterpreter.h>
#include
using namespace std;
void test() {
cout << "gInterpreter->GetCurrentMacroName(): " << gInterpreter->GetCurrentMacroName() << endl;
}
[/code]
If I type
I get what is expected: "test.C"
However, it does not work anymore if I compile the macro
instead of getting the macro name, I get an empty string.
Do you have any idea how to get the macro name of a compiled macro?
Thank you in advance.
Edit: I am using ROOT 5.34/25