如何在 android Chromium 中打印函数调用回溯?
How to print function call backtrace in android Chromium?
有没有办法在 Android Chromium 中打印函数调用回溯?我想检查函数调用是否流畅
以下由bitchainer
提供的url给出了答案:
https://www.chromium.org/blink/getting-started-with-blink-debugging
chromium本身就有接口可以在androidchromium中打印backtrace,可以尝试以下方法:
//Add Header File
#include <base/debug/stack_trace.h>
//use it in the place where need to print the backtrace
base::debug::StackTrace st;
st.Print();
您可以参考以下link:
https://www.chromium.org/blink/getting-started-with-blink-debugging
有没有办法在 Android Chromium 中打印函数调用回溯?我想检查函数调用是否流畅
以下由bitchainer
提供的url给出了答案:
https://www.chromium.org/blink/getting-started-with-blink-debugging
chromium本身就有接口可以在androidchromium中打印backtrace,可以尝试以下方法:
//Add Header File
#include <base/debug/stack_trace.h>
//use it in the place where need to print the backtrace
base::debug::StackTrace st;
st.Print();
您可以参考以下link:
https://www.chromium.org/blink/getting-started-with-blink-debugging