[CSharpBinding] Fixed some issues in the unit test
extension/implemented debug command.