1. 25 4月, 2016 7 次提交
  2. 22 4月, 2016 1 次提交
    • M
      proc: Fix command-line arguments on Windows (#501) · 60946a75
      Matias Lahti 提交于
      * proc: add tests for command-line arguments
      
      adds tests to make sure command-line arguments are passed to Launch() properly
      
      * proc_windows: pass command-line arguments to CreateProcess()
      
      build command-line arguments according to how the standard library does it and pass the command line along to the actual syscall on Windows.
      
      see discussion in #479
      
      * proc: better testing of cmd-line arguments
      
      * proc_windows: fix a possible error-case with passing just 1 argument
      
      previously, the command line pointer passed to sys.CreateProcess was empty, if we had 0 parameters (len(cmd) == 1, as cmd[0] is the executable, so no cmdlineGo would be created, while with any argument it would as len(cmd) > 1). This might cause problems down the road, so make sure we include the command line every time, even if it seems to work without.
      
      * proc: improve testing of command-line arguments
      
      test that arguments with spaces are passed on correctly and DRY failure/success condition checking in the args test
      60946a75
  3. 21 4月, 2016 1 次提交
  4. 19 4月, 2016 3 次提交
  5. 13 4月, 2016 2 次提交
  6. 09 4月, 2016 1 次提交
  7. 08 4月, 2016 1 次提交
  8. 07 4月, 2016 1 次提交
    • W
      terminal: show message if there are no vars/locals/args · e60942a3
      Wesley Merkel 提交于
      When the vars, locals, or args commands return no results, nothing is
      
      printed out to the terminal. This commit makes these commands print a
      
      message like `(no locals)` when there is nothing to show. This feedback
      
      is more descriptive of what is being returned than an empty string.
      e60942a3
  9. 06 4月, 2016 1 次提交
  10. 05 4月, 2016 1 次提交
  11. 31 3月, 2016 1 次提交
  12. 29 3月, 2016 4 次提交
  13. 28 3月, 2016 1 次提交
  14. 24 3月, 2016 1 次提交
  15. 23 3月, 2016 1 次提交
  16. 19 3月, 2016 1 次提交
  17. 18 3月, 2016 2 次提交
  18. 15 3月, 2016 4 次提交
  19. 14 3月, 2016 1 次提交
    • V
      Updated OSX install.md · 7d3d90a0
      vancouverwill 提交于
      It was unclear that to install, first clone Delve before `CERT=mycert make install`
      Added link to helpful walkthrough installation video
      7d3d90a0
  20. 09 3月, 2016 1 次提交
  21. 05 3月, 2016 1 次提交
    • A
      proc: Caching type offsets · c66c6408
      aarzilli 提交于
      Caches the mapping of type names to offset in debug_info to speed up
      variable evaluation.
      
      BEFORE:
      	BenchmarkArray-4         	     100	  13'238'441 ns/op	   0.62 MB/s
      	BenchmarkArrayPointer-4  	     200	  10'044'093 ns/op	   0.87 MB/s
      	BenchmarkMap-4           	    1000	   1'332'530 ns/op	   0.77 MB/s
      	BenchmarkGoroutinesInfo-4	      10	 114'677'462 ns/op
      	BenchmarkLocalVariables-4	    2000	   1'223'975 ns/op
      AFTER:
      	BenchmarkArray-4         	     200	   9'925'686 ns/op	   0.83 MB/s
      	BenchmarkArrayPointer-4  	     100	  11'143'930 ns/op	   0.78 MB/s
      	BenchmarkMap-4           	    2000	   1'302'520 ns/op	   0.79 MB/s
      	BenchmarkGoroutinesInfo-4	      30	  35'079'549 ns/op
      	BenchmarkLocalVariables-4	    1000	   1'137'299 ns/op
      
      Note in particular the speedup of BenchmarkGoroutinesInfo, since
      proc.(*Variable).parseG is a function we call a lot.
      c66c6408
  22. 04 3月, 2016 1 次提交
  23. 29 2月, 2016 2 次提交