Open nathanrboyer opened 1 year ago
Hard to find, but already implemented, see https://github.com/julia-vscode/julia-vscode/issues/2516 Summary: Use the "+" above "compiled" to add "ALL_MODULES_EXCEPT_MAIN". Then use the add the Modules you want interpreted, prefixed by "-", e.g. "-MyModule"
Neither adding with the +
button nor modifying the settings.json seems to actually compile all modules but main. There are still many interpreted modules listed.
After adding "ALL_MODULES_EXCEPT_MAIN" with the +
:
After restarting VSCode with just "ALL_MODULES_EXCEPT_MAIN" set in the JSON settings (even Base is interpreted):
I cannot figure out how to compile everything except the functions defined in my package, and I imagine that is the most useful debugging configuration for everyone.
+
buttons next to each module under All which appear to do the exact same thing. (Both switch mode of everything under the dropdown arrow.)+
button next to the red dot also did not work. (Only the explicitly typed-out module was added: none of its dependencies.)Please add more common shortcuts under the three dots menu, so I don't have to manually add every submodule.![image](https://github.com/julia-vscode/julia-vscode/assets/65452054/2142a607-6fbd-4258-9bac-cca6ea1cc6d9)
I tried to debug with the "default compiled modules/functions", but my breakpoint was not reached even after 3 hours. The same function call runs natively in 30 seconds.
What am I supposed to do if I can't reach my breakpoint in default mode and don't want to click hundreds of plus buttons to compile all the submodules?