Open
Bug 1812962
Opened 2 years ago
Updated 2 years ago
Improve error message when static component creation fails
Categories
(Core :: XPCOM, enhancement)
Core
XPCOM
Tracking
()
NEW
People
(Reporter: jstutte, Unassigned)
References
Details
If a component creation fails we will find in our logs messages like:
2:03.94 GECKO(3103924) [Parent 3103924, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:10270
2:03.94 GECKO(3103924) [Parent 3103924, Main Thread] WARNING: NS_ENSURE_TRUE(inst) failed: file StaticComponents.cpp:11376
Tracing back those messages to the causing components is not always easy as StaticComponents.cpp
is generated code, such that line numbers can vary randomly between platforms and builds.
lower_constructor
should have all the needed information to improve these messages to point us directly to the causing module, which may raise the chance that someone files a bug for it.
You need to log in
before you can comment on or make changes to this bug.
Description
•