Skip to content
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

target.max-string-summary-length did not take effect #1088

Open
darren4qyl opened this issue Apr 2, 2024 · 0 comments
Open

target.max-string-summary-length did not take effect #1088

darren4qyl opened this issue Apr 2, 2024 · 0 comments

Comments

@darren4qyl
Copy link

darren4qyl commented Apr 2, 2024

settings show target.max-string-summary-length
target.max-string-summary-length (int) = 10000
p sql
(const std::string &) "select id,occured_cnt from event_info where event_id = 'xxxxxxxx' and version_id = '1' and (param_list like '{"crash/_signal":%,"digest":"%e%c%b%f%f%d%e%ae","error/_code":%,"process/_name":"//system//bin//surfaceflinger","stack/trace":"backtrace:\n #% pc %e% //apex//com.android.runtime//lib%//bionic//libc.so (//_epoll/_pwait+%) (BuildId: %ea%a%e%e%a%a%d%b%c%)\n #% pc % //system//lib%//libutils.so (android::Looper::pollInner(int)+%) (BuildId: c%f%ebcd%c%d%c%c%ed%b%)\n #% pc %c //system//lib%//libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+%) (BuildId: c%f%ebcd%c%d%c%c%ed%b%)\n #% pc % //system//bin//surfaceflinger (android::impl::MessageQueue::waitMessage()+%) (BuildId: %dadaaa%d%c%b%e%b%aa%b%)\n #% pc %af% //system//bin//surfaceflinger (android::SurfaceFlinger::run()+%) (BuildId: %dadaaa%d%c%b%e%b%aa%b%)\n #% pc %ea% //system//bin//surfaceflinger (main+%) (BuildId: %dadaaa%d%c%b%e%b%aa%b%)\n #% pc %dc //apex//com.android.runtime//lib%//bionic//libc"...

But it did take effect in the LLDB command line, and the content of the variable could be displayed completely.

frame #15: 0x000000784d44490c libsqlite.so`sqlite3_exec(db=0xb4000077292d81b0, zSql="select id,occured_cnt from event_info where event_id = 'xxxxxxxx' and version_id = '1' and (param_list like '{\"crash/_signal\":%,\"digest\":\"a%d%a%a%c%fd%b%a%c%c\",\"error/_code\":%,\"process/_name\":\"//system//bin//surfaceflinger\",\"stack/_trace\":\"backtrace:\\n      #% pc %e%  //apex//com.android.runtime//lib%//bionic//libc.so (/_/_epoll/_pwait+%) (BuildId: %ea%a%e%e%a%a%d%b%c%)\\n      #% pc %  //system//lib%//libutils.so (android::Looper::pollInner(int)+%) (BuildId: c%f%ebcd%c%d%c%c%ed%b%)\\n      #% pc %c  //system//lib%//libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+%) (BuildId: c%f%ebcd%c%d%c%c%ed%b%)\\n      #% pc %  //system//bin//surfaceflinger (android::impl::MessageQueue::waitMessage()+%) (BuildId: %dadaaa%d%c%b%e%b%aa%b%)\\n      #% pc %af%  //system//bin//surfaceflinger (android::SurfaceFlinger::run()+%) (BuildId: %dadaaa%d%c%b%e%b%aa%b%)\\n      #% pc %ea%  //system//bin//surfaceflinger (main+%) (BuildId: %dadaaa%d%c%b%e%b%aa%b%)\\n      #% pc %dc  //apex//com.android.runtime//lib%//bionic//libc.so (/_/_libc/_init+%) (BuildId: %ea%a%e%e%a%a%d%b%c%)\\n\\n\",\"thread/_name\":\"surfaceflinger\"}' or param_list like '%a3d79a8703156a3749c4fd2b5a212c4c%')  limit 1", xCallback=(misight`micar::MiSight::SqlDatabase::GetExecResult(void*, int, char**, char**) at sql_database.cpp:123), pArg=0xb4000076a92d6928, pzErrMsg=0x00000075b8f8d150) at sqlite3.c:123194:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant