How do you debug font level code?

In most cases, all you get is an implicit error not found. You do not know where in the chain of implicit construction this failed. Apparently, you cannot use the debug version or print statement. So, how do you debug a program at a level other than looking at your code is very difficult?

+5
source share
1 answer

I would like for me to have a better answer, but here it is: start passing parameters explicitly, one at a time, until it gives you a more useful error. (add-prinlns equivalent for implicits parameters)

+3
source

Source: https://habr.com/ru/post/1240477/


All Articles