Skip to content

Commit 6c6ea57

Browse files
committed
[update] enable the source line option when print an exception with traceback
1 parent 5373a3c commit 6c6ea57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

port/mpconfigport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
#define MICROPY_KBD_EXCEPTION (1)
6666
#define MICROPY_HELPER_REPL (1)
6767
#define MICROPY_HELPER_LEXER_UNIX (0)
68-
#define MICROPY_ENABLE_SOURCE_LINE (0)
68+
#define MICROPY_ENABLE_SOURCE_LINE (1)
6969
#define MICROPY_ENABLE_DOC_STRING (0)
7070
#define MICROPY_ENABLE_SCHEDULER (1)
7171
#define MICROPY_ERROR_REPORTING (MICROPY_ERROR_REPORTING_TERSE)

0 commit comments

Comments
 (0)