Getting line number in error message

I am working on an application that has quite a lot of textures. Since a while I am receiving the error:
[ error ] ofTexture: getTextureData(): texture has not been allocated that could happen in a lot of places.

Is there a way to get some information more about where this is happening?

I have tried to use ofSetLogLevel(OF_LOG_VERBOSE) but without any success.

you can look for that message inside ofTexture.cpp and add a breakpoint there to see where it’s coming from

Yes this is what I ended up doing, thanks anyway