TBrowser quits right after calling it

Hello, when I try to open the TBrowser in root it opens for half a second but then quits immediately.

Do you have any idea why this happens?

Since there is no error message this is what I got…

root [0] TBrowser()
root [1] TBrowser()
root [2] TBrowser()
root [3] TBrowser()
root [4]

My mac runs on OS X Yosemite 10.10.5 and

this is the root version:

| Welcome to ROOT 6.04/02 root.cern.ch |
| © 1995-2014, The ROOT Team |
| Built for macosx64 |
| From tag v6-04-02, 14 July 2015 |
| Try ‘.help’, ‘.demo’, ‘.license’, ‘.credits’, ‘.quit’/’.q’

Best, iMi

Hi,

This syntax is invalid. Please use:new TBrowser() or new TBrowser or TBrowser b
Cheers, Bertrand.

Thanks, this is resolved. But why did I see the TBrowser window pop up also before?

I guess the constructor is called but and there is no object created it immediately closes.