Fork me on GitHub
#chlorine-clover
<
2020-04-11
>
mauricio.szabo00:04:18

@fabrao fix for the error: https://github.com/mauricioszabo/repl-tooling/pull/67. Will publish a new version soon-ish 🙂

fabrao00:04:07

so, what is the origin of problem?

mauricio.szabo00:04:15

To be honest, .getPath of Java returns a / on the beginning of the file. Have no idea why other people didn't have this problem. I assume most people are working in MacOS or Linux 😄

fabrao00:04:52

It can be !!!

mauricio.szabo00:04:21

Also, on load-file the "origin" of the file gets corrected: is only when Java needs to resolve the filename (which is necessary when we use "refresh")

fabrao00:04:26

So, I´m now Windows Chlorine bug finder

mauricio.szabo01:04:07

@fabrao Just published a new version. Thanks for helping me debug this issue, just tested on windows and seems that its working now 🙂

fabrao04:04:26

When do you think you´ll start with debug?

seancorfield04:04:08

What do you want in a debugger?

seancorfield04:04:21

(I think step debuggers are a terrible idea)

fabrao04:04:45

I tested the fixes from new version and it´s ok now

fabrao04:04:22

I used sometimes cider-debug-defun-at-point in Emacs

fabrao04:04:05

it´s like gdb

mauricio.szabo04:04:35

Probably not very soon. There are a lot of things I want to do before: get rid of UNREPL, better support for parsing big EDNs, avoid locking Atom when too much text is injected, and so on....

fabrao04:04:30

I think debugger is a high level of complexity, correct?

seancorfield04:04:28

Yeah, debuggers are really hard to get right -- although any "Clojure" debugger is really just building on top of the existing JVM debugging system.

seancorfield04:04:35

But I really think they're a wrong-headed approach to solving problems. I see a lot of people, in various languages, reach for a step debugger/breakpoints without actually thinking scientifically about what the problem might be and how to diagnose it. Step debuggers encourage random tinkering 😞

💯 12
sogaiu04:04:13

i appreciate having the option though to examine the actual values. we don't always have the luxury of interfacing with code we have written ourselves.

fabrao04:04:41

I only use it if I´m tired and having to solve some problem

seancorfield04:04:23

REPL all the things 🙂