Jacob MacDonald
Jacob MacDonald
I believe you could work around this by passing explicitly `--enable-vm-service=8181` to specify that port.
The remaining errors I do see are related to the dart tooling daemon connection which fails (but gracefully). It is the same core issue, it tries to connect to dtd...
cc @jensjoha can you confirm things work if you provide an explicit port that you have forwarded? I do expect you will see the error connecting to the dart tooling...
I did send out a fix for the null check exception fwiw, https://github.com/flutter/devtools/pull/8940. But, I doubt its really going to help your situation, as this indicates a not useful response...
@jensjoha can you provide a CPU profile which fails to load?
The way we deal with this other places (like in the compilers) is to pass a file with the arguments instead of passing them all as CLI args.
https://bazel.build/rules/lib/builtins/Args#set_param_file_format and https://bazel.build/rules/lib/builtins/Args#use_param_file are the relevant bazel docs, although they really are extremely lacking TBH, as they don't even discuss how these params are passed to the binaries which is...