The Debian package replaces some external Javascript URLs in the
Flamegraph HTML template with file:/// URLs provided by Debian packages.
This is very much appreciated, but unfortunately the files produced by
"memray flamegraph" are broken, and the flamegraph does not show when
opening the HTML. The problems that are visible to me:
1.) The flamegraph files use URLs to
file:///usr/share/javascript/bootstrap/js/bootstrap.min.js and
file:///usr/share/javascript/bootstrap/css/bootstrap.min.css, which are
not provided by the dependency libjs-bootstrap5. Installing the
libjs-bootstrap package (3.x) provides those files, though due to point
2.) I cannot say if they are actually compatible.
2.) With libjs-bootstrap installed the flamegraph still does not show,
the Firefox console shows a SyntaxError in
/usr/share/nodejs/popper.js/dist/esm/popper.min.js (from package
libjs-popper.js), as well as additional errors in remaining external
scripts (please see the attached screenshot). I guess there is an
incompatibility.
Thanks for maintaining Memray in Debian!