You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, we can use macros to achieve that. But @nudles suggested we can use an error code list. We can provide a table for users to look up the details of the error by using the error code they get.
Activity
chrishkchris commentedon May 12, 2020
Yes, currently one of the problem in the debugging is that it do not tell which file and which line has problem.
I suggest we can add
__FILE__,__LINE__to incidate which file and which line when we handle the five examples errors in this issue. For examples:https://github.com/apache/singa/blob/master/include/singa/io/communicator.h#L54
XJDKC commentedon May 12, 2020
Yeah, we can use macros to achieve that. But @nudles suggested we can use an error code list. We can provide a table for users to look up the details of the error by using the error code they get.