How to add debug points to expressions for understanding?
for {
a <- sqlQuery1()
b <- sqlQuery2()
} yield {
}
I want to check how each of the above requests is executed, but just adding debug points does not work. Queries are executed without hitting the debug points. I am not sure if this is a limitation of the library, language or IDE used.
Here is my setup:
- Scala
- IntelliJ IDEA 14.1.3
- Scala Plugin 1.5.200
- Library - Slick 3.0 (using DBIO actions)
Update:
Case 1: with a sniff
Debug points do not work. Confirmed it again.
Case 2: without use
The debugger stops at the debugging points. But sometimes he evaluates expressions, and sometimes not. I noticed the following problems (in currying / anonymous functions):
, , .