I managed to either trigger bug in one of libraries that I used or I passed invalid data there.
Fine, it happens. But to diagnose what happened it would be nice to know where I actually call this library function! But Firefox "helpfully" truncated stack trace.
How can I get access to a full stack trace?