Thanks! Some pointers to the code base: 1) The Stack Trace panel is rendered here: https://searchfox.org/mozilla-central/rev/96f1457323cc598a36f5701f8e67aedaf97acfcf/devtools/client/netmonitor/src/components/StackTracePanel.js#67 2) It's using `StackTrace` component that is implemented here https://searchfox.org/mozilla-central/rev/96f1457323cc598a36f5701f8e67aedaf97acfcf/devtools/client/shared/components/StackTrace.js#37 3) The stack-trace is collected on the backend here https://searchfox.org/mozilla-central/rev/96f1457323cc598a36f5701f8e67aedaf97acfcf/devtools/server/actors/network-monitor/stack-trace-collector.js#114 We could peel off the chrome frame on the backend to safe a bit on RDP traffic but, also depends whether/where we already have some helpers and whether we want to support that `Show Gecko platform data` pref. Honza
Bug 1280266 Comment 11 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Thanks! Some pointers to the code base: 1) The Stack Trace panel is rendered here: https://searchfox.org/mozilla-central/rev/96f1457323cc598a36f5701f8e67aedaf97acfcf/devtools/client/netmonitor/src/components/StackTracePanel.js#67 2) It's using `StackTrace` component that is implemented here https://searchfox.org/mozilla-central/rev/96f1457323cc598a36f5701f8e67aedaf97acfcf/devtools/client/shared/components/StackTrace.js#37 3) The stack-trace is collected on the backend here https://searchfox.org/mozilla-central/rev/96f1457323cc598a36f5701f8e67aedaf97acfcf/devtools/server/actors/network-monitor/stack-trace-collector.js#114 4) We could peel off the chrome frame on the backend to safe a bit on RDP traffic but, also depends whether we want to support that `Show Gecko platform data` pref. Here is an existing helper implemented for the Console panel. It isn't handling all of the chrome frames but, could be adapted: https://searchfox.org/mozilla-central/rev/96f1457323cc598a36f5701f8e67aedaf97acfcf/devtools/server/actors/webconsole/utils.js#173-214 @Nicolas: can you provide some info about how the helper could be improved? Honza