DumpJSStack is the right thing to do, just:

call DumpJSStack()

From gdb, and it should print the JS caller to stderr.

 -- Emilio

On Jan 24, 2025 16:40, "ISHIKAWA,chiaki" <[email protected]> wrote:

Hi,

I would like to find out what _javascript_ function (and in which file)
is reading startup.properties file.
See
https://bugzilla.mozilla.org/show_bug.cgi?id=1943506

I can get the stacktrace where the file is opened using gdb, but
the stacktrace only shows the JS interpreter and related functions and
I am not familiar with them to figure out the _javascript_ file and function.

I looked into my .gdbinit file and found some references to old
DumpJSStack(), etc. But I am not sure if they are current or not.
Well, it seems it is related to Java and not to _javascript_.

Any tips will be appreciated.

TIA

Chiaki


--
You received this message because you are subscribed to the Google Groups "[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/50497ced-071a-4e48-b32d-05ce7dfcc7bf%40yk.rim.or.jp.


--
You received this message because you are subscribed to the Google Groups "[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/76fd9beb-2eca-4471-ae04-98a8a9bf0edd%40email.android.com.

Reply via email to