Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

What’s the best/most effective way to debug input to darjeeling? #5

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?

  • replies 1
  • views 2.2K
  • likes 0
#2

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.