undoio / delve

Fork of go-delve debugger with UndoDB support.
MIT License
5 stars 0 forks source link

Various test cases fail or are wrongly skipped with the undo backend #18

Closed gareth-rees closed 3 years ago

gareth-rees commented 3 years ago

These test cases can't run with the undo backend's record-replay strategy because the debuggee hangs and so recording does too and the test case does not complete.

These test cases can't evaluate variables because they hit the error variables_test.go:133: unknown backend "undo" due to an unhandled case in a switch testBackend.

These test cases won't work with the undo backend's record-replay strategy:

These test cases don't work as expected, because the debuggee is stopped in runtime.breakpoint(). They could perhaps be made to work by adding calls to findFirstNonRuntimeFrame() but for the moment it is simplest to skip them.

These test cases are wrongly skipped because they are only enabled for the "rr" backend:

These test cases are skipped but they pass if run:

These test cases don't list the expected set of registers (possibly genuine bugs in the undo backend, recorded as #19):