-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Add call stack info during compile time #19067
Add call stack info during compile time #19067
Conversation
11f2c87
to
f5590b1
Compare
test=develop
10d56aa
to
9a8997f
Compare
test=develop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just my thinking, maybe the Traceback
info and C++ callstacks
info is useless for most users, because they just use our platform, they will not modify our source code, they just need to know where their own mistakes are. The error message is too long now.
|
||
|
||
class TestCompileTimeException(OpTest): | ||
def test_run_time_exception(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe test_compile_time_exception
is better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
test=develop
C++ Callstack info is really long, but some error info of C++ Callstack is useful for users and developers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR's work includes:
Before
Now: