eunit icon indicating copy to clipboard operation
eunit copied to clipboard

Timeouts while debugging

Open richcarl opened this issue 13 years ago • 2 comments

Reported by Joern Barthel.

EUnit should not timeout during debugging sessions.

Environment: R11B-5 win32

If you compile (with debug_info) an erlang module such as the attached example and step debug (calling debug/0) through it, eunit will timeout.

If it's feasible I'd rather like to see that eunit uses the time spent in the tested process as a reference for it's (in this case default-) timeout.

richcarl avatar Jul 28 '11 19:07 richcarl

Perhaps I should add some kind of timeout-override for running eunit while debugging. I have to go look through the timeout handling first before I can tell how easy it would be to do.

richcarl avatar Jul 28 '11 19:07 richcarl

I find myself calling into the test code from the erlang shell, bypassing eunit whenever I need to debug a failing test.

kaos avatar Dec 17 '13 15:12 kaos