I have a toy code segment that is running through Darjeeling, but it’s identifying 0 snippets and 0 transformations. I have been manually analyzing the source code, but I'm looking for a better way to debug.
I just tried to use pdb
and VSCode
as a debugger and the virtualenv version of python doesn’t seem to enable breakpoints/debugging.
So, what’s the most effective way to debug input to darjeeling?
It looks like the problem here is in the static analysis component, Kaskara, rather than Darjeeling. For Kaskara issues, I would launch the container, mount the Kaskara binaries, and try to run kaskara-*
on the source code.
If you simply want to find how Kaskara failed, you should try to record the logging output of kaskara
, which should record the output of the static analysis binaries.