You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use CodeLLDB rather than CppTools for debugging. The launch.json configs are mostly the same, and up to version 0.14.2, this worked fine; we just point CMake Test Explorer's cmakeExplorer.debugConfig setting at an LLDB launch config and it'd work ok. As of 0.15 we're getting an error dialog undefined is not iterable (cannot read property Symbol(Symbol.iterator)) when we attempt to debug a test from the test explorer.
I believe the reason is that CodeLLDB takes its environment settings in a different format from cpptools:
CppTools:
If I add an empty environment list to the launch config it no longer produces errors, but that's going to be rather confusing! Could you support both formats?
For what it's worth, the same error occurs with a cpptools debug config with no environment list: that's less of a problem since it's created by default, but I think it should still work.
The text was updated successfully, but these errors were encountered:
It looks like a bug caused by cmakeExplorer.extraCtestEnvVars handling in the new version. I only tested it on Windows with cppvsdbg and wrongly assumed that all debug configs used the same environment format, which unfortunately is not the case (I couldn't find any doc on that). I'm gonna fix that ASAP, sorry for the inconvenience!
We use CodeLLDB rather than CppTools for debugging. The launch.json configs are mostly the same, and up to version 0.14.2, this worked fine; we just point CMake Test Explorer's
cmakeExplorer.debugConfig
setting at an LLDB launch config and it'd work ok. As of 0.15 we're getting an error dialogundefined is not iterable (cannot read property Symbol(Symbol.iterator))
when we attempt to debug a test from the test explorer.I believe the reason is that CodeLLDB takes its environment settings in a different format from cpptools:
CppTools:
CodeLLDB:
If I add an empty environment list to the launch config it no longer produces errors, but that's going to be rather confusing! Could you support both formats?
For what it's worth, the same error occurs with a cpptools debug config with no environment list: that's less of a problem since it's created by default, but I think it should still work.
The text was updated successfully, but these errors were encountered: