scalac-profiling
scalac-profiling copied to clipboard
NPE when starting sbt console with scalac-profiling
I was trying out this guide to profile a project.
I added the following in sbt
"-Ycache-plugin-class-loader:last-modified",
"-Xplugin:$PATH_TO_PLUGIN_JAR",
"-P:scalac-profiling:no-profiledb",
"-P:scalac-profiling:show-profiles",
"-P:scalac-profiling:sourceroot:$BLOOP_CODEBASE_DIRECTORY"
When I do console
from sbt shell, I get a NPE here
as _.file
returns null
@anish749 have you replaced PATH_TO_PLUGIN_JAR
and BLOOP_CODEBASE_DIRECTORY
with correct values?