Giter Site home page Giter Site logo

delve_client_testing's Introduction

HOW TO USE

Each subdirectory has one or more go files and a README.txt file.
Open README.txt and follow the instructions.

Tests 1 - 3 involve different ways to start delve.
Tests 4 - 6 deal with breakpoints in concurrent programs, they all require a multicore computer with GOMAXPROCS unset or set to >1.
Tests 7 - 10 deal with miscellaneous features.
Tests 11 - 18 deal with variable loading and visualization, they all require a GUI client

This is a more detailed summary of all tests:

1. debug a _test.go file
2. debug a core file
3. let's users specify a --log-output parameter
4. dealing with simultaneous breakpoint triggering on multiple goroutines
5. dealing with breakpoints during next/step/stepout
6. can request a manual stop
7. can show disassembly and CPU registers (and keep it up to date with the current instruction)
8. can show local variables of different goroutines or different frames, can execute next in a different goroutine
9. displays a warning when stepping through a stale executable
10. setting a breakpoint on a function should result in the breakpoint being after the prologue
11. shows shadowed variables in a way that is distinct from visible variables
12. can evaluate arbitrary expressions
13. continue loading strings
14. continue loading slices
15. continue loading maps
16. continue loading pointers
17. continue loading interfaces
18. displaying a map[int]string should not be confusing
19. unreadable variables should be shown as such
20. the debugger should run fast even in presence of very deep stacks, a large number of goroutines or very large variables
21. dealing with compiler-autogenerated stubs

2019 results: https://gist.github.com/aarzilli/f3b69cadc6d8968e3e7784eb0d486d76

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.