Open Bug 1787457 Opened 2 years ago Updated 2 months ago

Failed to get the active browserId while starting the profiler.

Categories

(Thunderbird :: General, defect)

Thunderbird 104
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: bugzilla.mozilla.org, Unassigned)

References

Details

Steps to reproduce:

The profiler seems to work as expected. This bug report is only to report that an error is logged to the console:

  • Start Thunderbird
  • Use Ctrl-Shift-I to open developer tools
  • Nagigate to performance tab
  • Ensure "Thunderbird" profiler preset is chosen
  • Click "Start recording"
  • View the Console Log

Actual results:

"Failed to get the active browserId while starting the profiler." is displayed in the console log as an error.

Expected results:

Nothing should have been logged as an error.

Thank you Meichthys. As you hinted, it's a minor problem, but should be fixed anyway.
Confirming as described for 102.2.0 (64-bit), Win10.

Failed to get the active browserId while starting the profiler. recording-utils.js:53:11
    getActiveBrowserID resource://devtools/shared/performance-new/recording-utils.js:53
    startProfiler resource://devtools/shared/performance-new/gecko-profiler-interface.js:70
    actorBridgeWithSpec resource://devtools/server/actors/common.js:107
    handler resource://devtools/shared/protocol/Actor.js:175
    onPacket resource://devtools/server/devtools-server-connection.js:379
    _onJSONObjectReady resource://devtools/shared/transport/transport.js:464
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:103
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:103
Severity: -- → S3
Component: Untriaged → General

Just commenting here to indicate that this is still relevant for v116.0b7

Fyi, I don't seems to be able to run a Performance Profile via DevTools > Performance > Capture Recording, it raise this error in TB 119.0b6 (64-bit) on Windows 10:

16:15:36.952
Failed to get the active browserId while starting the profiler. recording-utils.js:29:11
    getActiveBrowserID resource://devtools/shared/performance-new/recording-utils.js:29
    startProfiler resource://devtools/server/actors/perf.js:63
    handler resource://devtools/shared/protocol/Actor.js:198
    onPacket resource://devtools/server/devtools-server-connection.js:379
    _onJSONObjectReady resource://devtools/shared/transport/transport.js:463
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:103
    makeInfallible resource://devtools/shared/ThreadSafeDevToolsUtils.js:103
See Also: → 1920387
See Also: → 1771304
You need to log in before you can comment on or make changes to this bug.