(text string)
| 449 | } |
| 450 | |
| 451 | func cleanTextForDebug(text string) string { |
| 452 | text = strings.Join(strings.Fields(text), " ") |
| 453 | text = strings.Trim(text, " \t\n") |
| 454 | |
| 455 | return text |
| 456 | } |
| 457 | |
| 458 | func DisplayExprDebug(program *vm.Program, outputs []OpOutput, logger *log.Entry, ret any) { |
| 459 | logger.Debugf("dbg(result=%v): %s", ret, cleanTextForDebug(program.Source().String())) |
no test coverage detected
searching dependent graphs…