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.
[x] TestIssue827 uses the debuggee _fixtures/notify-v2.go that deadlocks by acquiring a locked mutex.
[x] Test1Issue419 uses the debuggee _fixtures/issue419.go which waits for a SIGINT.
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 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 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.
TestIssue827
uses the debuggee_fixtures/notify-v2.go
that deadlocks by acquiring a locked mutex.Test1Issue419
uses the debuggee_fixtures/issue419.go
which waits for a SIGINT.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 aswitch testBackend
.TestVariableEvaluation
,TestSetVariable
,TestVariableEvaluationShort
,TestMultilineVariableEvaluation
,TestLocalVariables
,TestEmbeddedStruct
,TestComplexSetting
,TestEvalExpression
,TestEvalAddrAndCast
,TestMapEvaluation
,TestUnsafePointer
,TestIssue426
,TestPackageRenames
,TestConstants
,TestIssue1075
,TestCallFunction
,TestIssue1531
,TestPluginVariables
These test cases won't work with the undo backend's record-replay strategy:
TestClientServer_SetVariable
,Test1ClientServer_SetVariable
TestRestart_afterExit
,TestRestart_duringStop
,Test1Restart_afterExit
,Test1Restart_breakpointPreservation
,Test1Restart_duringStop
,Test1Restart_attachPid
,TestRestart
TestAcceptMulticlient
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 tofindFirstNonRuntimeFrame()
but for the moment it is simplest to skip them.TestClientServer_FindLocationsAddr
,TestClientServer_EvalVariable
,TestSkipPrologue
,TestEvalExprName
,TestClientServerFunctionCall
,TestClientServerFunctionCallPanic
,TestClientServerFunctionCallStacktrace
,Test1ClientServer_FindLocationsAddr
,Test1ClientServer_EvalVariable
,Test1Disasm
,TestVariableEvaluation
,TestVariableEvaluationShort
,TestMultilineVariableEvaluation
,TestLocalVariables
,TestEmbeddedStruct
,TestEvalExpression
,TestEvalAddrAndCast
,TestMapEvaluation
,TestUnsafePointer
,TestIssue426
,TestPackageRenames
,TestListCmd
.These test cases are wrongly skipped because they are only enabled for the
"rr"
backend:TestClientServer_ReverseContinue
,TestRerecord
,TestReverseContinue
,TestCheckpoints
These test cases are skipped but they pass if run:
TestClearBreakpointBreakpoint
,TestKill
,TestIssue239
,TestCmdLineArgs
,TestIssue844
These test cases don't list the expected set of registers (possibly genuine bugs in the undo backend, recorded as #19):
TestClientServer_FpRegisters
,TestIssue1493
.