Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BelugaException: empty callstack #10

Open
Masadow opened this issue Nov 9, 2013 · 0 comments
Open

BelugaException: empty callstack #10

Masadow opened this issue Nov 9, 2013 · 0 comments

Comments

@Masadow
Copy link
Member

Masadow commented Nov 9, 2013

The normal behavior of BelugaException should return file + line + exception_message inside toString() method.

However, since CallStack.callStack() always returns an empty array, we can't locate where the problem happened.

I first thought that the code in toString() method was misplaced and should be inside the constructor. However, the CallStack.callStack() method still returns an empty array.

Maybe some macro tricks are needed but I didn't look deeper actually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants