xiaoxiang781216 commented on code in PR #7875:
URL: https://github.com/apache/nuttx/pull/7875#discussion_r1054064662


##########
sched/misc/assert.c:
##########
@@ -174,7 +473,20 @@ void _assert(FAR const char *filename, int linenum)
 
   syslog_flush();
 
-  up_assert(filename, linenum);
+  /* Show back trace */
+
+#ifdef CONFIG_SCHED_BACKTRACE
+  sched_dumpstack(running_task()->pid);
+#endif
+
+  up_assert();

Review Comment:
   @zyfeier is looking at this problem.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to