call stack for log output?

37 views
Skip to first unread message

Shailan Patel

unread,
May 15, 2023, 5:47:00 PM5/15/23
to chromium-design-docs
does anybody know whether it's possible get a call stack for log output when debugging? i tried using sawbuck (as im on windows) as shown in the attachment but it doesnt work in providing the call stack..

--
You received this message because you are subscribed to the Google Groups "chromium-design-docs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-design-...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-design-docs/a1d97de2-6ecc-456a-8d60-bfe98257666en%40chromium.org.

Shailan Patel

unread,
May 16, 2023, 6:19:09 AM5/16/23
to GONT NETWORK, chromium-design-docs
Do you know where i should try that? Do you also know why the chrome_debug.log has less output that the stderror log output (As shown in the attachment)?

On Tue, May 16, 2023 at 4:43 AM GONT NETWORK <gont.n...@gmail.com> wrote:
Just try DCHECK_EQ(1, 0); And you'll get a BackTrace in the chrome_debug.log - from the function you need a call stack.

понедельник, 15 мая 2023 г. в 05:43:32 UTC+3, shail...@gmail.com:
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-design-docs/CAJyW20a47kDkWJMG6yotYG7PT4uF3Bn6aU9_-1iLr-jCrU8mDQ%40mail.gmail.com.
debuglog.png

Shailan Patel

unread,
May 16, 2023, 8:43:40 AM5/16/23
to chromium-design-docs, GONT NETWORK, Shailan Patel, chromium-design-docs, Chromium-dev
please can you kindly show the line in harfbuzz_shaper.cc where the logging macro is placed too?  

On Tuesday, May 16, 2023 at 1:16:19 PM UTC+1 GONT NETWORK wrote:
May be, try it like this and you'll get the call stack (I've attached).

вторник, 16 мая 2023 г. в 13:19:09 UTC+3, Shailan Patel:
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-design-docs/0341fb59-c85a-4482-8c2b-e8fabf7e466fn%40chromium.org.

K. Moon

unread,
May 16, 2023, 11:45:00 AM5/16/23
to GONT NETWORK, shail...@gmail.com, Chromium-dev
Removing chromium-design-docs, this conversation has nothing to do with design docs.

On Tue, May 16, 2023 at 6:41 AM GONT NETWORK <gont.n...@gmail.com> wrote:
My line in 153. But you can place it at any line, any procedure..

вторник, 16 мая 2023 г. в 15:42:29 UTC+3, shail...@gmail.com:

--
You received this message because you are subscribed to the Google Groups "chromium-design-docs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-design-...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-design-docs/CACwGi-4j4bXH5LPEX2x_9RAhkkU%2B%2BARJiHk7fAYtSsiCfC_mPg%40mail.gmail.com.

Shailan Patel

unread,
May 16, 2023, 12:25:06 PM5/16/23
to chromium-design-docs, km...@chromium.org, Shailan Patel, Chromium-dev, GONT NETWORK
please can you not delete this as i am still testing this and would like to reply soon
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-design-docs/33a0d816-3c0f-4033-99d2-1a54556baec3n%40chromium.org.

K. Moon

unread,
May 16, 2023, 12:26:22 PM5/16/23
to Shailan Patel, Chromium-dev, GONT NETWORK
The discussion is already happening on chromium-dev; please do not cross-post this to chromium-design-docs.

Shailan Patel

unread,
May 16, 2023, 12:28:11 PM5/16/23
to K. Moon, Chromium-dev, GONT NETWORK
but i would like to reply to GONT NETWORK and  Oleh Lamzin, do you know how i could do that?

K. Moon

unread,
May 16, 2023, 12:59:03 PM5/16/23
to Shailan Patel, Chromium-dev, GONT NETWORK
chromium-design-docs is BCC'd, so that list will see that the conversation is continuing on chromium-dev. GONT NETWORK is also directly CC'd on this thread.

'Oleh Lamzin' via chromium-design-docs

unread,
May 17, 2023, 1:21:12 PM5/17/23
to shail...@gmail.com, chromium-design-docs
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/a1d97de2-6ecc-456a-8d60-bfe98257666en%40chromium.org.


--

If you have an anonymous feedback for me, please use go/lamzin-feedback


Oleh Lamzin

Software Engineer

lam...@google.com


Google Germany GmbH

Erika-Mann-Straße 33

80636 München


Geschäftsführer: Paul Manicle, Liana Sebastian

Registergericht und -nummer: Hamburg, HRB 86891

Sitz der Gesellschaft: Hamburg


Diese E-Mail ist vertraulich. Falls Sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde. 

     

This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.

--
You received this message because you are subscribed to the Google Groups "chromium-design-docs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-design-...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-design-docs/CAE2v0g2QDhErS3JASFw1W4TxgZofpr6_7b99MYfz_ZPEyDc%3DBA%40mail.gmail.com.

GONT NETWORK

unread,
May 17, 2023, 1:22:02 PM5/17/23
to chromium-design-docs, shail...@gmail.com, GONT NETWORK, chromium-design-docs, Chromium-dev
My line in 153. But you can place it at any line, any procedure..

вторник, 16 мая 2023 г. в 15:42:29 UTC+3, shail...@gmail.com:
please can you kindly show the line in harfbuzz_shaper.cc where the logging macro is placed too?  

GONT NETWORK

unread,
May 17, 2023, 1:22:04 PM5/17/23
to chromium-design-docs, shail...@gmail.com
Just try DCHECK_EQ(1, 0); And you'll get a BackTrace in the chrome_debug.log - from the function you need a call stack.

понедельник, 15 мая 2023 г. в 05:43:32 UTC+3, shail...@gmail.com:
On Monday, May 15, 2023 at 3:42:47 AM UTC+1 Shailan Patel wrote:
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-design-docs/de8b38fe-bf20-4f82-893a-9e799d2e61fbn%40chromium.org.
Reply all
Reply to author
Forward
0 new messages