github.com/cnboonhan/delve@v0.0.0-20230908061759-363f2388c2fb/CHANGELOG.md (about) 1 # Changelog 2 3 All notable changes to this project will be documented in this file. 4 This project adheres to Semantic Versioning. 5 6 ## [1.21.0] 2023-06-23 7 8 ### Added 9 10 - Go 1.21 support (#3370, #3401, @aarzilli) 11 - Basic debug functionality for stripped executables (#3408, #3421, @derekparker) 12 - Core dumping on FreeBSD (#3305, @aarzilli) 13 - Ability to automatically attach to child processes when they are spawned (linux-only) (#3286, #3346, @aarzilli) 14 - Starlark scripts can now use the time module (#3375, @andreimatei) 15 - Online help for starlark interpreter (#3388, @aarzilli) 16 - `dlv trace` has a new option, `--timestamp`, that prints timestamps before every trace event (#3358, @spacewander) 17 18 ### Fixed 19 20 - Stepping could hide normal breakpoint hits occurring simultaneously, in rare circumstances (#3287, @aarzilli) 21 - Internal error when defer locations can not be resolved (#3329, @aarzilli) 22 - Channels of certain types could be displayed incorrectly (#3362, @aarzilli) 23 - Formatted time wouldn't always be displayed when using DAP (#3349, @suzmue) 24 - Function call injection when parameters are in registers (#3365, @ZekeLu) 25 - Panic in Starlark interface when using partially loaded variables (#3386, @andreimatei) 26 - Use debug info directories configuration in `dlv trace` (#3405, @nozzy123nozzy) 27 - Updated DAP version (#3414, @suzmue) 28 29 ### Changed 30 31 - Improved eBPF tracepoints (#3325, #3353, #3417, @chenhengqi, @derekparker) 32 - The name of the default output binary is now randomizes, which fixes some weird behavior when multiple instances of Delve are run simultaneously in the same directory (#3366, @aarzilli) 33 - Stderr of debuginfod-find is now suppressed (#3381, @fche) 34 - Better documentation for substitute-path (#3335, @aarzilli) 35 - `quit -c` will ask for confirmation when breakpoints still exist (#3398, @aarzilli) 36 - Miscellaneous improvements to documentation and tests (#3326, #3327, #3340, #3341, #3357, #3378, #3376, #3399, #3374, #3426, @alexandear, @cuishuang, @alexsaezm, @andreimatei) 37 38 39 ## [1.20.2] 2023-04-05 40 41 ### Added 42 43 - New flag --rr-onprocess-pid to replay command (#3281, @jcpowermac) 44 - Added documentation for watching arbitrary address (#3268, @felixge) 45 - Allow extracting a DWARF entry field (#3258, @brancz) 46 - Add SetLoggerFactory to terminal/logflags package (#3257, @blaubaer) 47 - New config option for tab printing when printing source code (#3243, @thockin) 48 - Added documentation for debugging Go runtime with Delve (#3234, @aarzilli) 49 50 ### Fixed 51 52 - Fix printing boolean values in Starlark scripts (#3314, @vitalif) 53 - Fix infinite recursion in escapeCheck (#3311, @aarzilli) 54 - Support multiple functions with same name (#3297, @aarzilli) 55 - Handle end_seq in dwarf/line correctly (#3277, @derekparker) 56 - Fix calls into SYS_PROCESS_VM_READV/WRITEV syscalls (#3273, @aarzilli) 57 - Fix exit status for trace subcommand (#3263, @derekparker) 58 - Fix stripping DYLD_INSERT_LIBRARIES on macOS (#3245, @aviramha) 59 - Fix handling of list colors via config (#3240, @derekparker) 60 - Fixes to FreeBSD backend (#3224, @aarzilli) 61 62 ### Changed 63 64 - Add limit to maximum time.Time we try and format (#3294, @aarzilli) 65 - Add fuzzing tests to expression evaluator and variable loader (#3293, @aarzilli) 66 - Removed some support for Go 1.12 and earlier (#3271, @aarzilli) 67 - Moved util functions to dwarf package (#3252, @alexandear) 68 - Attempt to load DW_AT_specification if present (#3247, @brancz) 69 - Match go test behavior when dlv test gets list of go files (#3232, @aarzilli) 70 - Populate Value field in pointer Variable (#3229, @andreimatei) 71 72 ## [1.20.1] 2022-12-12 73 74 ### Fixed 75 76 - Fix executing programs on macOS with most versions of debugserver installed (#3211, @aarzilli) 77 78 ## [1.20.0] 2022-12-07 79 80 ### Added 81 82 - Support for Go 1.20 (#3129, #3196, #3180, @cuiweixie, @qmuntal, @aarzilli) 83 - Support for Windows/arm64 (gated by a build tag) (#3063, #3198, #3200, @qmuntal) 84 - Compatibility with coredumpctl (#3195, @Foxboron) 85 86 ### Fixed 87 88 - Improve evaluation of type casts (#3146, #3149, #3186, @aarzilli) 89 - DAP: Added type to response of EvaluateRequest (#3172, @gfszr) 90 - Cgo stacktraces on linux/arm64 (#3192, @derekparker) 91 - Debugserver crashes on recent versions of macOS when $DYLD_INSERT_LIBRARIES is set (#3181, @aviramha) 92 - Stacktraces and stepping on Go 1.19.2 and later on macOS (#3204, @aarzilli) 93 - Attaching to processes used by a different user on Windows (#3162, @aarzilli) 94 - Nil pointer dereference when current address is not part of a function (#3157, @aarzilli) 95 96 ### Changed 97 98 - Change behavior of exec command so that it looks for the executable in the current directory (#3167, @derekparker) 99 - DAP shows full value when evaluating log messages (#3141, @suzmue) 100 - Wait time is no longer reported for parked goroutines (its value was always incorrect) (#3139, @aarzilli) 101 - Miscellaneous improvements to documentation and error messages (#3119, #3117, #3154, #3161, #3169, #3188, @aarzilli, @derekparker, @cuishuang, @Frederick888, @dlipovetsky) 102 103 ## [1.9.1] 2022-08-23 104 105 ### Added 106 107 - Add support for empty string in substitutePath (@RuijieC-dev) 108 - Support gnu_debuglink section (@aarzilli) 109 - Support exact matches in SubstitutePath (@eandre) 110 - Add ability to show disassembly instead of source code (@aazilli) 111 - Add -per-g-hitcount to breakpoint conditions (@yangxikun) 112 113 ### Fixed 114 115 - Ensure breakpoint map exists (@aarzilli) 116 - Use standard library to compute CRC for gnu_debuglink section (@aarzilli) 117 - Fix command to download Go version in CI (@derekparker) 118 - Do not panic reading bad G struct (@aarzilli) 119 - Fix parsing DWARFv5 file table (@derekparker) 120 - Improve trace subcommand output (@derekparker) 121 - Fix documentation for examinemem (@aaarzilli) 122 - Fix step instruction on 1 byte instruction with software breakpoint (@qmuntal) 123 - Fix handling of function entry / return in ebpf tracing backend (@derekparker) 124 - Fix size of ebpf type for fn_addr (@derekparker) 125 126 ### Changed 127 128 - Send large terminal output to pager (@aarzilli) 129 - Refactor windows backend framework (@qmuntal) 130 - Complete the dropping of CGO dependency for ebpf backend (@aarzilli) 131 - Limit disassembly range in DAP backend (@aarzilli) 132 133 ## [1.9.0] 2022-07-06 134 135 ### Added 136 137 - Support for Go 1.19 (#3038, #3031, #3009, @aarzilli) 138 - Autocomplete for local variables (#3004, @pippolo84) 139 - Support for function call injection on arm64 (#2996, @aarzilli) 140 141 ### Fixed 142 143 - Ctrl-C handling on Windows (#3039, @aarzilli) 144 - Expressions accessing maps with string literals (#3036, @aarzilli) 145 - Occasional crash caused by race between manual stop and normal stop on macOS (#3021, @aarzilli) 146 - Pretty-print of register components (#3022, @aarzilli) 147 - Misc function call injection bugs (#3007, #3002, #3000, @aarzilli) 148 149 ### Changed 150 - Improved FreeBSD port (#3019, #2972, #2981, #2982, @4a6f656c) 151 - Misc test fixes (#3011, #2995, #2979, @polinasok, @aarzilli) 152 - Misc documentation changes (#2998, #2991, @aarzilli, @polinasok) 153 - Better autogenerated function skip (#2975, @aarzilli) 154 155 ## [1.8.3] 2022-04-25 156 ### Added 157 - Pretty-print time.Time variables (@aarzilli) 158 - Better "could not open debug info" errors (@polinasok) 159 - DAP: Support --disable-aslr (@polinasok) 160 - DAP interface documentation improvements (@polinasok) 161 - CLI documentation improvements (@derekparker, @deathiop) 162 163 ### Fixed 164 - DAP: offer disconnect/stop options for attach mode only (@polinasok) 165 - Fix godoc comments (@hitzhangjie) 166 - Allow low index == len in reslice expressions (@aarzilli) 167 - Fix leaky process when failing to debug stripped binaries in headless mode (@polinasok) 168 - Skip stepping into autogenerated functions for go1.18 (@aarzilli) 169 170 ### Changed 171 - Drop support for building on Go < 1.10 (@aarzilli) 172 173 ## [1.8.2] 2022-03-07 174 ### Added 175 - Add '-clear' option for 'condition' command (@chainhelen) 176 - Support ctrl-Z for shell job control (@derekparker) 177 178 ### Fixed 179 - Improve handling of hard coded breakpoints (@aarzilli) 180 - Better error messages for ambiguous function calls / type casts (@aarzilli) 181 - Fix crash when trying to open separate debug info (@aarzilli) 182 - Handle non-install dev tools on osx (@zchee) 183 184 ### Changed 185 - Downgrade loadBuildID error to warning (@aarzilli) 186 - Require go-delve/liner in go.mod file instead of upstream version (@hyanhag) 187 188 ## [1.8.1] 2022-02-07 189 190 ### Added 191 192 - Downloading source code listings with debuginfod (@Foxboron) 193 - Added `transcript` command (@aarzilli) 194 - Enabled `dump` command on windows (@aarzilli) 195 - Env attribute in DAP launch requests (@hyangah) 196 - Better documentation for the DAP interface (@polinasok) 197 198 ### Fixed 199 200 - Require argument for trace subcommand (@derekparker) 201 - Handling of inlined calls within inlined calls (@derekparker) 202 - Handling of DW_AT_inline attribute (@aarzilli) 203 - Set stop reason in StepInstruction (@suzmue) 204 205 ### Changed 206 207 - The DAP interface will not create executables in the temp directory (@hyangah) 208 - When the `goroutines` command looks for the user frame it will exclude frames in internal and runtime/internal in addition to private runtime functions (@aarzilli) 209 - Breakpoints with hitcount conditions are automatically disabled when their condition can no longer be satisfied (@pippolo84) 210 - The commands `break` and `trace` will set a breakpoint on the current line if no argument is specified (@thockin) 211 - Miscellaneous documentation improvements (@chainhelen, @gareth-rees, @polinasok) 212 213 ## [1.8.0] 2021-12-23 214 215 ### Added 216 217 * Go 1.18 support 218 * Support for DWARF5 on Windows/MacOS (@aarzilli) 219 * Added more installation instructions to documentation (@polinasok) 220 * Allow for rewind to work after process exit with RR backend (@aarzilli) 221 * Added documentation on runtime.curg and runtime.frameoff in eval (@aarzilli) 222 * DAP: Expose sources command in evaluate request (@suzmue) 223 * DAP: Support Goroutine filters (@suzmue) 224 225 ### Fixed 226 227 * Fix build version using buildinfo (@aarzilli) 228 * Fix crash when using deferred with no args (@kaddy-tom) 229 * DAP: Misc remote attach improvements (@polinasok) 230 231 ### Changed 232 233 * Misc cleanup and refactoring (@aarzilli) 234 * Added option to disable invoking git during build (@herbygillot) 235 * Ignore 'pf' mappings during core dump creation (@aarzilli) 236 237 ## [1.7.3] 2021-11-16 238 239 ### Added 240 241 * Misc changes to prepare for Go 1.18 and generics (#2703, @2745, @aarzilli) 242 * Watchpoint support (disabled on Windows) (#2651, #2659, #2667, #2769, @aarzilli) 243 * Warn about listening to remote connections (#2721, @aarzilli) 244 * Support call injection with rr backend (#2740, @aarzilli) 245 * Support JSON-RPC and DAP on the same port from 'dlv debug/exec/test/attach' (#2755, @polinasok) 246 * DAP: Remote attach support (#2709, @polinasok) 247 * DAP: Multi-client support (#2731, #2737, #2781, @polinasok) 248 * DAP: Logpoints support (#2634, #2730, #2747, #2748, @suzmue) 249 * DAP: Dissasembly view support (#2713, #2716, #2728, #2742, @suzmue) 250 * DAP: Support dlvCwd and use a temp file as default debug binary (#2660, #2734, @hyangah, @polinasok) 251 * DAP: Auto-resume execution when setting breakpoints while running (#2726, @suzmue) 252 * DAP: Add --client-addr flag to run dap with a predefined client (#2568, @hyangah) 253 * DAP: Log parsed and applied launch configs (#2732, @polinasok) 254 * DAP: Add option to hide system goroutines (#2743, @suzmue) 255 * DAP: Add support for special 'config' expressions (#2750, @suzmue) 256 257 ### Fixed 258 259 * Return correct exit status from Halt command (#2674, @suzmue) 260 * Merge register data before writing to register (#2699, @mknyszek) 261 * Do not assign temp breakpoint IDs to avoid conflicts with user breakpoints (#2650, @aarzilli) 262 * Miscellaneous fixes for Windows native backend (#2736, @aarzilli) 263 * Return error when assigning between function variables (#2692, @aarzilli) 264 * Obey logflags config for LoadConfig warnings (#2701, @aarzilli, @suzmue) 265 * Workaround for debugserver register set bug (#2770, @aarzilli) 266 * DAP: Fix nil dereference when byte array cannot be converted to string (#2733, @polinasok) 267 * DAP: Fix data race for noDebugProcess.ProcessState (#2735, @polinasok) 268 269 ### Changed 270 271 * Refine handling of version-too-old errors (#2684, #2712, @polinasok, @yang-wei) 272 * eBPF tracing backend return value parsing (#2704, @derekparker) 273 * Replace libbpfgo with cilium/ebpf (##2771, @derekparker) 274 * DAP: Merge Arguments and Locals scopes (#2717, @suzmue) 275 * DAP: Refine launch/attach error visibility (#2671, @polinasok) 276 * DAP: Server refactoring to separate listener and client session layers (#2729, @polinasok) 277 * DAP: Improve shutdown logic and test coverage (#2749, @polinasok) 278 279 ## [1.7.2] 2021-09-21 280 281 ### Added 282 283 * Documentation: Add notes on porting Delve to other architectures (@aarzilli) 284 * Add internal checks to ensure we're synched with Go runtime internals (@aarzilli) 285 * eBPF backend can parse goroutine info (@derekparker) 286 * Add support for debuginfo-find (@derekparker) 287 * Add MAKE arguments for GOOS / GOARCH (@cmol) 288 289 ### Fixed 290 291 * Correctly check for 1.17 and regabi (@aarzilli) 292 * Print config output strings quouted (@aarzilli, @krobelus) 293 * Update check for system goroutines (@suzmue) 294 * DAP: Halt before detach in Stop (@polinasok) 295 * DAP: Do not send halt request if debuggee is not running (@suzmue) 296 297 ### Changed 298 299 * Include selected goroutine in threads request (@suzmue) 300 * Remove individual OS install instructions (@gabriel-vasile) 301 * DAP: Show decimal / hex values for uint (@suzmue) 302 * Avoid bright colors in default syntax highlighting (@krobelus) 303 304 ## [1.7.1] 2021-08-18 305 306 ### Added 307 308 - *EXPERIMENTAL* Added support for eBPF based trace backend (@derekparker) 309 - Added fuzzy completion for the CLI for commands and breakpoint locations (@derekparker) 310 - Added stack watchpoints (@aarzilli) 311 - Added verbose version output (@hyangah) 312 - DAP: Support for replay and core modes (@Iggomez) 313 - DAP: Added ability to page stack frames (@suzmue) 314 - DAP: Added len as metadata for maps (@suzmue) 315 - DAP: Add 'backend' launch/attach attribute (@polinasok) 316 317 ### Fixed 318 319 - Fix handling of runtime throws (@derekparker) 320 - DAP: Handle unexpected debugger termination (@polinasok) 321 322 ### Changed 323 324 - Added configuration for Target to not clear stepping breakpoints (@suzmue) 325 - Ignore existing breakpoints for continue-until (@derekparker) 326 - Improve help output for examinemem (@derekparker) 327 - Clarify next-while-nexting error (@suzmue) 328 - DWARF improvements for additional opcodes (@aarzilli) 329 - Treat SIGTERM as server disconnect signal (@polinasok) 330 - Update Cobra lib to v1.1.3 (@hyangah) 331 - Improvements to 'on' command (@aarzilli) 332 - Terminal will now prompt when breakpoint is hit during next/step/stepout (@aarzilli) 333 - DAP: Ensure server is always headless and target foregrounded (@polinasok) 334 - DAP: Set hit breakpoint IDs (@suzmue) 335 336 ## [1.7.0] 2021-07-19 337 338 ### Added 339 340 - Go 1.17 support (@aarzilli, @mknyszek) 341 - Add new API and terminal command for setting watchpoints (@aarzilli) 342 - Add filtering and grouping to goroutines command (@aarzilli) 343 - Added support for hit count condition on breakpoints (@suzmue, @aarzilli) 344 - DAP server: Handle SetVariable requests (@hyangah) 345 - DAP server: Add clipboard support (@hyangah) 346 347 ### Fixed 348 349 - DAP server: Several shutdown / disconnect fixes (@suzmue, @polinasok) 350 - DAP server: Clean output executable name on Windows (@hyangah) 351 - DAP server: Variables response must not have null variables array (@polinasok) 352 - Fix runtimeTypeToDIE setup (necessary for Go 1.17) (@aarzilli) 353 - Reenable CGO stacktrace test on arm64 (@derekparker) 354 - Fix incorrect integer casts in freebsd C backend (@dwagin) 355 - Ensure correct exit status reported on commands following process death (@derekparker) 356 - Misc flakey test fixes / test refactoring (@polinasok) 357 - Fix for frame parameter being ignored in ConvertEvalScope when no goroutine is found (@suzmue) 358 - Ensure ContinueOnce returns StopExited if process exited, otherwise return StopUnknown (@polinasok) 359 - Fix panic in RPC2.ListDynamicLibraries (@derekparker) 360 - Fix typo in flag passed to check if debugserver supports unmask_signals (@staugust) 361 362 ### Changed 363 364 - DAP server: Add sameuser security check (@hyangah) 365 - DAP server: Changes to context-dependent load limits for string type (@hyangah, @polinasok) 366 - DAP server: Add paging for arrays, slices and maps (@suzmue) 367 - DAP server: Deemphasize internal runtime stack frames (@suzmue) 368 - DAP server: Add throw reason to exception information upon panic (@suzmue) 369 - DAP server: Set breakpoint hit ID (@suzmue) 370 - DAP server: Add string value of byte/rune slice as child (@suzmue) 371 - Documentation: Add viminspector to list of editor plugins (@aarzilli) 372 - Support for ZMM registers in gdbserial backend (@aarzilli) 373 - Remove support for stack barriers (@derekparker) 374 - Improve support for DWARF5 (@derekparker) 375 - Improve documentation (@derekparker, @aarzilli) 376 - Print message and exit if Delve detects it is running under Rosetta on M1 macs (@aarzilli) 377 - Drop official Go 1.14 support (@derekparker) 378 379 ## [1.6.1] 2021-05-18 380 381 ### Added 382 383 - Dump command: generate core dumps from within Delve (@aarzilli) 384 - Toggle command: toggle breakpoints on or off (@alexsaezm) 385 - DAP server improvements (@polinasok, @hyangah, @suzmue) 386 - Delve now parses and uses the .eh_frame section when available (@aarzilli) 387 - Add linespec argument to 'continue' command (@icholy) 388 - Add optional format argument to 'print' and 'display' commands (@aarzilli) 389 390 ### Fixed 391 392 - Fixed file reference handling with DWARF5 compilation units (@thanm) 393 - Fix embedded field searching (@aarzilli) 394 - Fix off by one error reading core files (@aarzilli) 395 - Correctly read G address on linux/arm64 396 - Avoid double removal of temp built binary (@polinasok) 397 - Fix temp binary deletion race in DAP server (@polinasok) 398 - Fix shutdown related bugs in RPC server (@aarzilli) 399 - Fix crashes induced by RequestManualStop (@aarzilli) 400 - Fix handling of DW_OP_piece (@aarzilli) 401 - Correctly truncate the result of binary operations on integers (@aarzilli) 402 403 ### Changed 404 405 - Dropped Go 1.13 support (@aarzilli) 406 - Improved documentation (@ChrisHines, @aarzilli, @becheran, @hedenface, @andreimatei, @ehershey , @hyangah) 407 - Allow examinememory to use an expression (@felixge) 408 - Improve gdb server check on newer ARM based macs (@oxisto) 409 - CPU registers can now be used in expressions (@aarzilli) 410 - DAP: Add type information to variables (@suzmue) 411 - DAP: Support setting breakpoints while target is running (@polinasok) 412 - DAP: Implement function breakpoints (@suzmue) 413 414 ## [1.6.0] 2021-01-28 415 416 ### Added 417 418 - Support for debugging darwin/arm64 (i.e. macOS on Apple Silicon) (#2285, @oxisto) 419 - Support for debugging Go1.16 (#2214, @aarzilli) 420 - DAP: support for attaching to a local process (#2260, @polinasok) 421 - DAP: fill the `evaluateName` field when returning variables, enabling "Add to Watch" and "Copy as Expression" features of VSCode (#2292, @polinasok) 422 - Added WaitSince, WaitReason to `service/api.Goroutine` and to the `goroutines` command (#2264, #2283, #2270, @dlsniper, @nd, @aarzilli) 423 - Syntax highlighting for Go code (#2294, @aarzilli) 424 - Added flag `CallReturn` to `service/api.Thread` to distinguish return values filled by a `stepOut` command from the ones filled by a `call` command (#2230, @aarzilli) 425 426 ### Fixed 427 428 - Fix occasional "Access is denied" error when debugging on Windows (#2281, @nd) 429 - Register formatting on ARM64 (#2289, @dujinze) 430 - Miscellaneous bug fixes (#2232, #2255, #2280, #2286, #2291, #2309, #2293, @aarzilli, @polinasok, @hitzhangjie) 431 432 ### Changed 433 434 - The `goroutines` command can be interrupted by pressing Ctrl-C (#2278, @aarzilli) 435 - Using a TeamCity instance provided by JetBrains for Continuous Integration (#2298, #2307, #2311, #2315, #2326, @artspb, @nd, @aarzilli, @derekparker) 436 - Improvements to documentation and error messages (#2266, #2265, #2273, #2299, @andreimatei, @hitzhangjie, @zamai, @polinasok) 437 438 ## [1.5.1] 2020-12-09 439 440 ### Added 441 - DAP: Scope and variable requests, including call injection (#2111, #2158, #2160, #2184, #2185, @polinasok) 442 - DAP: Support removing breakpoints and breakpoint conditions (#2188, @polinasok) 443 - DAP: Support next, stepIn, stepOut requests (#2143, @polinasok) 444 - DAP: Miscellaneous improvements (#2167, #2186, #2238, #2233, #2248, @eliben, @suzmue, @polinasok) 445 - Command line flag `-r` to redirect standard file descriptors of the target process (#2146, #2222, @aarzilli) 446 - `-size` flag for `examinemem` command (##2147, @hitzhangjie) 447 - Command line flag to disable ASLR (#2202, @aarzilli) 448 - Support for DWARFv5 loclists (#2097, @aarzilli) 449 450 ### Fixed 451 - Support for Go version >= 1.15.4 (#2235, @aarzilli) 452 - Fix displaying AVX registers (#2139, @aarzilli) 453 - Panic during `next`, `step` when there is no current goroutine (#2164, @chainhelen) 454 - Reading a deferred call's arguments on linux/arm64 (#2210, @aarzilli) 455 - Miscellaneous bug fixes (#2135, #2131, #2142, #2140, #2127, #2113, #2172, #2181, #2195, #2193, #2220, #2179, #2206, #2223, @aarzilli) 456 457 ### Changed 458 - `dlv test` switches to the package directory like `go test` does (#2128, @aarzilli) 459 - Delve will no longer resolve symbolic links when searching for split debug_info if the executable path is not /proc/pid/exe (#2170, @aarzilli) 460 - Starlark scripts can now be interrupted using Ctrl-C even if they are not making any API calls (#2149, @aarzilli) 461 - An error message will be displayed more prominently if a connection is rejected due to the `--only-same-user` flag (which is enabled by default) (#2211, @aarzilli) 462 - Substitute path rules are applied to the argument of `break` and `trace` (#2213, @aarzilli) 463 - The output of `xcode-select --print-path` will be used to determine the location of `debugserver` instead of a hardcoded path (#2229, @aaronsky) 464 - Improvements to documentation and error messages (#2148, #2154, #2196, #2228, @aurkenb, @pohzipohzi, @chainhelen, @andreimatei) 465 466 467 ## [1.5.0] 2020-07-29 468 469 ### Added 470 471 - Go 1.15 support (#2011, @aarzilli) 472 - Added the `reload` command that restarts the debugging session after recompiling the program (#1971, @alexsaezm) 473 - Better support for printing pointers in the C part of a cgo program (#1997, @aarzilli) 474 - Some support for DWARFv5 (#2090, @aarzilli) 475 476 ### Fixed 477 478 - Fixed trace subcommand when the `-p` option is used (#2069, @chainhelen) 479 - Nil pointer dereference when printing tracepoints (#2071, @aarzilli) 480 - Internal debugger error when printing the goroutine list of a corrupted or truncated core file (#2070, @aarzilli) 481 - Do not corrupt the list of source files whenever a plugin (or dynamically loaded library) is loaded (#2075, @aarzilli) 482 - Fixed current file/line reported after a segfault on macOS that was wrong under certain circumstances (#2081, @aarzilli) 483 - Internal debugger error when reading global variables of types using unsupported debug_info features (#2105, #2106, #2110, @aarzilli, @b00f) 484 485 ### Changed 486 487 - Support for stack trace requests in DAP and other DAP improvements (#2056, #2093, #2099, #2103, @polinasok) 488 - Delve will step inside a private runtime function call when it is already inside the runtime package (#2061, @aarzilli) 489 - Updated cosiner/argv dependency to v0.1.0 (#2088, @gadelkareem) 490 - Improvements to documentation and error messages (#2068, #2084, #2091, @aarzilli, @bhcleek, @letientai299) 491 492 ## [1.4.1] 2020-05-22 493 494 ### Added 495 496 - Support for linux/386 added (@chainhelen) 497 - DAP server initial release (@polinasok, @eliben, @hyangah) 498 - New command `examinemem` (or `x`) allows users to examine raw memory (@chainhelen) 499 - New command `display` allows users to print value of an expression every time the program stops (@aarzilli) 500 - New flag `--tty` allows users to supply a TTY for the debugged program to use (@derekparker) 501 - Coredump support added for Arm64 (@ossdev07) 502 - Ability to print goroutine labels (@aarzilli) 503 - Allow printing registers for arbitrary stack frames (@aarzilli) 504 - Add `disassemble-flavor` to config to specify assembly syntax (@chainhelen) 505 506 ### Fixed 507 508 - Allow function calls on non-struct types (@derekparker) 509 - Dwarf line parsing bug fix (@klemens-morgenstern) 510 - Improved error message when building Delve on unsupported systems (@aarzilli) 511 - Improved error message when trying to execute a binary in an invalid format for host system (@derekparker) 512 - Fix panic in Delve when using `call` command with some invalid input (@chainhelen) 513 514 ### Changed 515 516 - Improved output from `dlv trace` and `trace` REPL commands (@derekparker) 517 - Conditional breakpoint performance improvements (@aarzilli) 518 - Thread register loading performance improvement on gdbserial backend (@derekparker) 519 - Reduce default log level to error (@aarzilli) 520 - Linux memory read/write optimization using process_vm_read/write (@cuviper) 521 - Terminal output of commands divided into categories (@aarzilli) 522 - Use less permissive file settings on history file (@derekparker) 523 - Autogenerated interface method calls wrappers now automatically stepped through (@aarzilli) 524 525 ## [1.4.0] 2020-02-11 526 527 ### Added 528 529 - Support for Linux/ARM64 (#1733, #1780 @hengwu0, @tykcd996) 530 - Support for Go 1.14 (@aarzilli) 531 - Added an API call that can be used by Delve front-ends to map between package names and build paths (#1784, @aarzilli) 532 - Added a field to goroutine objects returned by the API listing the goroutine's pprof labels (#1836, @nd) 533 - Better support for inlined functions (#1717, #1742, #1807 @aarzilli) 534 535 ### Fixed 536 537 - Fixed target program crash after step-instruction (#1738, @aarzilli) 538 - Fixed miscellaneus bugs related to debugging Position Indepentent Executables and plugins (#1775, @aarzilli) 539 - Always remove breakpoints during detach (#1772, @hengwu0) 540 - Fixed Delve's exit status after the program has ended (#1781, @derekparker) 541 - Fixed nil pointer dereference in FunctionReturnLocations (#1789, @aarzilli) 542 - Improved performance of `goroutines -t` command (#1830, @aarzilli) 543 - Fixed occasional "Access Denied" error during attach on Windows (#1826, @alexbrainman) 544 - Fixed parsing of the `disassemble` command (#1837, @chainhelen) 545 546 ### Changed 547 548 - Check that local connections originate from the same User ID as the one that started Delve's instance (#1764, @stapelberg) 549 - Mapping between package names and package paths is done using the DW_AT_go_package_name where available (#1757, @aarzilli) 550 - Improvements to documentation and error messages (#1806, #1822, #1827, #1843, #1848, #1850, #1853 @spacewander, @chainhelen, @stigok) 551 - Miscellaneous code refactorings (#1746, #1777, #1834 @derekparker, @aarzilli) 552 553 ## [1.3.2] 2019-10-21 554 555 ### Added 556 557 - New example for starlark documentation (@aarzilli) 558 - Allow calls to optimized functions (@aarzilli) 559 - Option to bypass smart stacktraces (@aarzilli) 560 - Ability to call method of embedded field (@chainhelen) 561 - Added `make unininstall` command (@chainhelen) 562 - User can re-record recorded targets (@aarzilli) 563 564 ### Fixed 565 566 - Fix version reporting (current latest tagged as 1.3.1, reporting 1.3.0) (@derekparker) 567 - Fix nil pointer deref on proc.GetG (@aarzilli) 568 - Better handling of DW_TAG_inlined_subroutine without debug_line info (@aarzilli) 569 - Fix panic on invalid config values (@TerrySolar) 570 - Fix debug_line state machine behavior with multi-sequence units (@aarzilli) 571 - Fix starlark iteration on maps > 64 entries (@alxn) 572 - debug_frame parser fixed parsing augmentation (@chainhelen) 573 - Round TLS segment size to its alignment (@heschik) 574 575 ### Changed 576 577 - Documentation bumped required Go version (@codekaup) 578 - Disassemble now works without a selected goroutine (@aarzilli) 579 - Correctly mark closure variables as shadowed (@aarzilli) 580 - Bump CI to use Go 1.13 (@aarzilli) 581 582 ## [1.3.0] 2019-08-27 583 584 ### Added 585 586 - Go 1.13 support (#1546, @aarzilli) 587 - Starlark scripting language in the command line client (#1466, #1605, @aarzilli, @derekparker) 588 - Initial support for FreeBSD (#1480, @rayrapetyan) 589 - Command line flag to continue process immediately after launch/attach (#1585, @briandealwis) 590 - Configuration option for the maximum recursion depth used when printing variables (#1626, @msaf1980) 591 - `next` command now takes a numerical option specifying how many times it should be repeated (#1629, @jeremyfaller) 592 - Command line options to redirect logs to a file or file descriptor (#1525, @aarzilli) 593 - Ability to read goroutine ancestors if they are enabled by passing `GODEBUG="tracebackancestors=N"` (requires Go >= 1.11) (#1514, #1570, @aarzilli) 594 - Breakpoint autocompletion for the command line client (#1612, @qingyunha) 595 - Added reverse step-instruction command for rr backend (#1596, @dpapastamos) 596 - Support debugging programs using plugins on Linux with Go 1.12 or later (#1413, #1414, @aarzilli) 597 - Improved function call injection (#1503, #1504, #1548, #1591, #1602, @aarzilli) 598 - New variable flag to mark variables that have a fake or no-longer-valid address, because they are either stored in registers or in a stack frame that has been removed from the stack (#1619, @aarzilli) 599 - Support relative file paths when specifying breakpoint locations (#1478, @chainhelen) 600 - GetVersion API response now reports currently used backend (#1641, @aarzilli) 601 - `so` as alias for `stepout` (#1646, @stmuk) 602 603 ### Fixed 604 605 - Fixed values of registers smaller than 64bit (#1583, @derekparker) 606 - Fixed reading maps with removed entries in Go 1.12 (#1532, @aarzilli) 607 - Fixed possible crash on Linux caused by function call injection (#1538, @aarzilli) 608 - Fixed errors reading DWARF sections (#1574, #1582, #1603, @aarzilli) 609 - Prompt to shutdown headless instance after the target process has exited (#1621, @briandealwis) 610 - Stacktraces when a SIGSEGV (or other signal) happens during a cgo call (#1647, @aarzilli) 611 - Error restarting program with next/step/stepout under some circumstances (#1657, @aarzilli) 612 - Other bug fixes (#1487, #1488, #1490, #1500, #1497, #1469, #1553, #1595, #1594, #1620, #1622, #1624, #1637, #1664, #1665, #1668, @derekparker, @aarzilli, @dpapastamos, @pjot726) 613 614 ### Changed 615 616 - Delve will refuse to work with a version of Go that is either too old or too new (can be disabled with `--check-go-version=false`) (#1533, @aarzilli) 617 - When the value of a variable is determined to be a symbolic constant the numerical value of the symbolic constant will also be printed (#1530, @aarzilli) 618 - Catch fatal runtime errors (such as the deadlock detector triggering) automatically (#1502, @aarzilli) 619 - Replaced glide (which we weren't using anymore) with `go mod vendor` in make script (#1606, @derekparker) 620 - Removed support for reading interfaces in older versions (prior to 1.7) of Go (#1501, @aarzilli) 621 - Removed support for location expression "<fnname>:0" and associated API functionality (#1588, @aarzilli) 622 - Calling an unknown method through the JSON-RPC API will now return an error while previously it would simply be ignored (#1571, @aarzilli) 623 - Improved documentation and error messages (#1492, #1520, #1524, #1561, #1562, #1556, #1559, #1567, #1638, #1649, #1662, @derekparker, @Ladicle, @qaisjp, @justinclift, @tschundler, @two, @aarzilli, @dr2chase) 624 625 ## [1.2.0] 2019-02-19 626 627 ### Added 628 629 - Go 1.12 support 630 - Improved `trace` command to show return values and trace pre-built executables or tests (#1379, #1380, #1381, @derekparker) 631 - Windows Minidump support (#1386, #1387, #1402, @aarzilli) 632 - Better support for split DWARF symbol files (#1405, #1420, @derekparker, @slp) 633 - Function call support on macOS (#1324, @derekparker) 634 - `deferred` command to view the arguments of a deferred call (#1285, #1265, @aarzilli) 635 - Support for debugging Position Independent Executables (#1358, @aarzilli) 636 - Type conversions of byte and rune arrays into strings (#1372, @chainhelen) 637 - Configuration option (source-list-line-color) to change the color of line numbers in listings (#1364, @Russtopia) 638 - New expression `iface.(data)` to access the concrete value of interface variable `iface`, without having to write a full type assertion (#1340, @aarzilli) 639 - Support for specifying multiple source files as arguments for `debug`, `trace` and `test` (#1339, @chainhelen) 640 641 ### Fixed 642 643 - Make `edit` command work with vim and neovim (#1451, @the4thamigo-uk) 644 - Support Linux kernels prior to 2.6.34 (i.e. without PTRACE_GETREGSET) (#1435, @aarzilli) 645 - Fixed `substitute-path` configuration option on Windows (#1418, @zavla) 646 - Better performance for ListGoroutines API call (#1440, #1408, @slp, @aarzilli) 647 - Better performance when loading the value of very large sparse maps (#1392, @aarzilli) 648 - Other bug fixes (#1377, #1384, #1429, #1434, #1445, @aarzilli) 649 650 ### Changed 651 652 - Changes to where the configuration is stored, conforming to [XDG Base Directory Specification](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html) with fallbacks to the current directory when calls to `user.Current` fail (#1455 @GregorioMartinez, @acshekhara1) 653 - Project moved from github.com/derekparker/delve to github.com/go-delve/delve (@derekparker) 654 - Switched dependency management to go.mod (@aarzilli, @derekparker, @zavla) 655 - New build scripts and support building on macOS without the native backend (@aarzilli, @kevin-cantwell) 656 - Tolerate corrupted memory when reading the goroutine list (#1354, @aarzilli) 657 - Improved documentation and error messages (@sbromberger, @aarzilli, @derekparker, @chainhelen, @dishmaev, @altimac) 658 659 ## [1.1.0] 2018-08-15 660 661 ### Added 662 663 - Go 1.11 support (@aarzilli) 664 - Improvements to Delve logging (@aarzilli, @derekparker) 665 - Show global variables in disassembly (@aarzilli) 666 - Support for inlined calls (@aarzilli, @derekparker, @jaym) 667 - Support dwz compressed debug symbols (@slp) 668 - Support for debug info in a separate file (@slp) 669 - Let target process access the tty when running in headless mode on linux/native and darwin/gdbserial (@aarzilli) 670 - Commands `up` and `down` (@yasushi-saito) 671 - Flag to print stacktrace of all goroutines (@acshekhara1) 672 - Command `edit` (@benc153) 673 - Allow headless instances to keep running without a connected client (@aarzilli) 674 - Add `StartLoc` to `api.Goroutine` containing the starting location of each goroutine (@aarzilli) 675 - Preliminary support for function call injection with Go 1.11 (@aarzilli) 676 - Ability to read list of deferred calls of a goroutine (@aarzilli) 677 678 ### Fixed 679 680 - Fixed crashes when configuration file can not be created (@derekparker, @yuval-k, @aarzilli) 681 - Fixed reported location of the go statement of goroutines (@derekparker) 682 - Allow evaluation of constants specified without the full package path (@aarzilli) 683 - Fixed some integer arithmetics bugs in proc (@functionary) 684 - Respect load configuration after reslicing a map (@aarzilli) 685 - Fixed race condition between Halt and process death in the linux native backend (@aarzilli) 686 - Support core files generated by gdb (@psanford) 687 - Fixed evaluation of breakpoint conditions containing a single boolean variable (@aarzilli) 688 - Miscellaneous bugs in the debug_line state machine (@aarzilli) 689 690 ### Changed 691 692 - Removed redundant/obsolete methods of proc.Process Halt and Kill, general cleanup of native backends (@aarzilli) 693 - Improved documentation (@giuscri, @jsoref, @Carpetsmoker, @PatrickSchuster, @aarzilli, @derekparker, @ramya-rao-a, @dlsniper) 694 - Workaround in the gdbserial backend for broken version 902 of debugserver (@aarzilli) 695 - Changed operators || and && to short-circuit the evaluation of their arguments, like in Go (@aarzilli) 696 - Mark shadowed arguments as shadowed (@aarzilli) 697 - Allow syntax "package/path".varname to specify the full package path of a variable, in case disambiguating between multiple packages with the same name is necessary (@aarzilli) 698 699 ## [1.0.0] 2018-02-19 700 701 ### Added 702 703 - Print DWARF location expression with `whatis` (@aarzilli) 704 - Use `DW_AT_producer` to warn about optimized code (@aarzilli) 705 - Use constants to describe variable value (@aarzilli) 706 - Use `DW_AT_decl_line` to determine variable visibility (@aarzilli) 707 - `-offsets` flag for `stack` command (@aarzilli) 708 - Support CGO stacktraces (@aarzilli) 709 - Disable optimizations in C compiler (@aarzilli) 710 - `--output` flag to configure output binary (@Carpetsmoker) 711 - Support `DW_OP_piece`, `DW_OP_regX`, `DW_OP_fbreg` (@aarzilli) 712 - Support `DW_LNE_define_file` (@aarzilli) 713 - Support more type casts (@aarzilli) 714 715 ### Fixed 716 717 - Disable file path case normalization on OSX (@aarzilli) 718 - Support Mozilla RR 5.1.0 (@aarzilli) 719 - Terminal no longer crashes when process exits during `next` (@aarzilli) 720 - Fix TestCoreFPRegisters on Go 1.9 (@aarzilli) 721 - Avoid scanning system stack if it's not executing CGO (@aarzilli) 722 - Locspec "+0" should always evaluate to the current PC (@aarzilli) 723 - Handle `DW_LNE_end_of_sequence` correctly (@aarzilli) 724 - Top level interface variables may have 0 address (@aarzilli) 725 - Handle `DW_TAG_subprogram` with a nochildren abbrev (@aarzilli) 726 - StepBreakpoint handling (@aarzilli) 727 728 ### Changed 729 730 - Documentation improvements (@grahamking) 731 - Removed limitation of exit notifications (@dlsniper) 732 - Use `go env GOPATH` for install path 733 - Disable test caching (@aarzilli) 734 - Disable `-a` and use `all=` for Go 1.10 building (@aarzilli) 735 - Automatically deref interfaces on member access (@aarzilli) 736 - Replace all uses of `gosymtab/gopclntab` with `.debug_line` section (@aarzilli) 737 738 ## [1.0.0-rc.2] 2017-10-16 739 740 ### Added 741 742 - Automatically print panic reason for unrecovered panics (@aarzilli) 743 - Propagate frame offset to clients (@aarzilli) 744 - Added vim-delve plugin to documentation (@sebdah) 745 - Floating point register support in core files (@aarzilli) 746 - Go 1.9 support, including lexical block support (@aarzilli) 747 - Added whatis and config commands (@aarzilli) 748 - Add FrameOffset field to api.Stackframe (@aarzilli) 749 750 ### Fixed 751 752 - Better interoperation with debugserver on macOS (@aarzilli / @dlsniper) 753 - Fix behavior of next, step and stepout with recursive functions (@aarzilli) 754 - Parsing of maps with zero sized values (@aarzilli) 755 - Typo in the documentation of `types` command (@custa) 756 - Data races in tests (@aarzilli) 757 - Fixed SetBreakpoint in native and gdbserial to return the breakpoint if it already exists (@dlsniper) 758 - Return breakpoint if it already exists (@dlsniper) 759 - Collect breakpoint information on exit from next/stepout/step (@aarzilli) 760 - Fixed install instructions (@jacobvanorder) 761 - Make headless server quit when the client disconnects (@aarzilli) 762 - Store the correct concrete value for interface variables (previously we would always have a pointer type, even when the concrete value was not a pointer) (@aarzilli) 763 - Fix interface and slice equality with nil (@aarzilli) 764 - Fix file:line location specs when relative paths are in .debug_line (@hyangah) 765 - Fix behavior of next/step/stepout in several edge-cases (invalid return addresses, no current goroutine, after process exists, inside unknown code, inside assembly files) (@aarzilli) 766 - Make sure the debugged executable we generated is deleted after exit (@alexbrainman) 767 - Make sure rr trace directories are deleted when we delete the executable and after tests (@aarzilli) 768 - Return errors for commands sent after the target process exited instead of panicking (@derekparker) 769 - Fixed typo in clear-checkpoint documentation (@iamzhout) 770 771 ### Changed 772 773 - Switched from godeps to glide (@derekparker) 774 - Better performance of linux native backend (@aarzilli) 775 - Collect breakpoints information if necessary after a next, step or stepout command (@aarzilli) 776 - Autodereference escaped variables (@aarzilli) 777 - Use runtime.tlsg to determine G struct offset (@heschik) 778 - Use os.StartProcess to implement Launch on windows (@alexbrainman) 779 - Escaped variables are dereferenced instead of being reported as &v (@aarzilli) 780 - Report errors when we fail to load the executable on attach (@aarzilli) 781 - Distinguish between nil and empty slices and maps both in the API and on the command line interface (@aarzilli) 782 - Skip deferred functions on next and stepout (as long as they are not called through a panic) (@aarzilli) 783 784 ## [1.0.0-rc.1] 2017-05-05 785 786 ### Added 787 788 - Added support for core files (@heschik) 789 - Added support for lldb-server and debugserver as backend, using debugserver by default on macOS (@aarzilli) 790 - Added support for Mozilla RR as backend (@aarzilli) 791 792 ### Fixed 793 794 - Detach should correctly kill child process we created (@aarzilli) 795 - Correctly return error when reading/writing memory of exited process (@aarzilli) 796 - Fix race condition in test (@hyangah) 797 - Fix version extraction to support proposals (@allada) 798 - Tolerate spaces better after command prefixes (@aarzilli) 799 800 ### Changed 801 802 - Updated Mac OSX install instructions (@aarzilli) 803 - Refactor of core code in proc (@aarzilli) 804 - Improve list command (@aarzilli) 805 806 ## [0.12.2] 2017-04-13 807 808 ### Fixed 809 810 - Fix infinite recursion with pointer loop (@aarzilli) 811 - Windows: Handle delayed events (@aarzilli) 812 - Fix Println call to be Printf (@derekparker) 813 - Fix build on OSX (@koichi) 814 - Mark malformed maps as unreadable instead of panicking (@aarzilli) 815 - Fixed broken benchmarks (@derekparker) 816 - Improve reliability of certain tests (@aarzilli) 817 818 ### Added 819 820 - Go 1.8 Compatability (@aarzilli) 821 - Add Go 1.8 to test matrix (@derekparker) 822 - Support NaN/Inf float values (@aarzilli) 823 - Handle absence of stack barriers in Go 1.9 (@drchase) 824 - Add gdlv to list of alternative UIs (@aarzilli) 825 826 ### Changed 827 828 - Optimized 'trace' functionality (@aarzilli) 829 - Internal refactoring to support multiple backends, core dumps, and more (@aarzilli) [Still ongoing] 830 - Improve stacktraces (@aarzilli) 831 - Improved documentation for passing flags to debugged process (@njason) 832 833 ## [0.12.1] 2017-01-11 834 835 ### Fixed 836 837 - Fixed version output format. 838 839 ## [0.12.0] 2017-01-11 840 841 ### Added 842 843 - Added support for OSX 10.12.1 kernel update (@aarzilli) 844 - Added flag to set working directory (#650) (@rustyrobot) 845 - Added stepout command (@aarzilli) 846 - Implemented "attach" on Windows (@alexbrainman) 847 - Implemented next / step / step-instruction on parked goroutines (@aarzilli) 848 - Added support for App Engine (@dbenque) 849 - Go 1.7 support 850 - Added HomeBrew formula for installing on OSX. 851 - Delve now will break on unrecovered panics. (@aarzilli) 852 - Headless server can serve multiple clients. 853 - Conditional breakpoints have been implemented. (@aarzilli) 854 - Disassemble command has been implemented. (@aarzilli) 855 - Much improved documentation (still a ways to go). 856 857 ### Changed 858 859 - Pretty printing: type of elements of interface slices are printed. 860 - Improvements in internal operation of "step" command. 861 - Allow quoting in build flags argument. 862 - "h" as alias for "help" command. (@stmuk) 863 864 ### Fixed 865 866 - Improved prologue detection for large stack frames (#690) (@aarzilli) 867 - Fixed bugs involving stale executables during restart (#689) (@aarzilli) 868 - Various improvements to variable evaluation code (@aarzilli) 869 - Fix bug reading process comm name (@ggndnn) 870 - Add better detection for launching non executable files. (@aarzilli) 871 - Fix halt bug during tracing. (@aarzilli) 872 - Do not use escape codes on Windows when unsupported (@alexbrainman) 873 - Fixed path lookup logic on Windows. (@lukehoban) 874 875 ## [0.11.0-alpha] 2016-01-26 876 877 ### Added 878 879 - Windows support landed in master. Still work to be done, but 95% the way there. (@lukehoban) 880 - `step-instruction` command added, has same behavior of the old `step` command. 881 - (Backend) Implementation for conditional breakpoints, front end command coming soon. (@aarzilli) 882 - Implement expression evaluator, can now execute commands like `print i == 2`. (@aarzilli) 883 884 ### Changed 885 886 - `step` command no longer steps single instruction but goes to next source line, stepping into functions. 887 - Refactor of `parseG` command for clarity and speed improvements. 888 - Optimize reading from target process memory with cache. (prefetch + parse) (@aarzilli) 889 - Shorten file paths in `trace` output. 890 - Added Git SHA to version output. 891 - Support function spec with partial package paths. (@aarzilli) 892 - Bunch of misc variable evaluation fixes (@aarzilli) 893 894 ### Fixed 895 896 - Misc fixes in preparation for Go 1.6. (@aarzilli, @derekparker) 897 - Replace stdlib debug/dwarf with golang.org/x/debug/dwarf and fix Dwarf endian related parsing issues. (@aarzilli) 898 - Fix `goroutines` not working without an argument. (@aarzilli) 899 - Always clear temp breakpoints, even if normal breakpoint is hit. (@aarzilli) 900 - Infinite loading loop through maps. (@aarzilli) 901 - Fix OSX issues related to CGO memory corruption (array overrun in CGO). (@aarzilli) 902 - Fix OSX issue related to reporting multiple breakpoints hit at same time. (@aarzilli) 903 - Fix panic when using the `trace` subcommand. 904 905 ## [0.10.0-alpha] 2015-10-04 906 907 ### Added 908 909 - `set` command, allows user to set variable (currently only supports pointers / numeric values) (@aarzilli) 910 - All deps are vendored with Godeps and leveraging GO15VENDOREXPERIMENT 911 - `source` command and `--init` flag to run commands from a file (@aarzilli) 912 - `clearall` commands now take linespec (@kostya-sh) 913 - Support for multiple levels of struct nesting during variable eval (i.e. `print foo.bar.baz` now works) (@lukehoban) 914 915 ### Changed 916 917 - Removed hardware assisted breakpoints (for now) 918 - Remove Go 1.4.2 on Travis builds 919 920 ### Fixed 921 922 - Limit string sizes, be more tolerant of uninitialized memory (@aarzilli) 923 - `make` commands fixed for >= Go 1.5 on OSX 924 - Fixed bug where process would not be killed upon detach (@aarzilli) 925 - Fixed bug trying to detach/kill process that has already exited (@aarzilli) 926 - Support for "dumb" terminals (@dlsniper) 927 - Fix bug setting breakpoints at chanRecvAddrs (@aarzilli) 928 929 ## [0.9.0-alpha] 2015-09-19 930 931 ### Added 932 933 - Basic tab completion to terminal UI (@icholy) 934 - Added `-full` flag to stack command, prints local vars and function args (@aarzilli) 935 936 ### Changed 937 938 - Output of threads and goroutines sorted by ID (@icholy) 939 - Performance improvement: cache parsed goroutines during halt (@icholy) 940 - Stack command no longer takes goroutine ID. Use scope prefix command instead (i.e. `goroutine <id> bt`) 941 942 ### Fixed 943 944 - OSX: Fix hang when 'next'ing through highly parallel programs 945 - Absolute path confused as regexp in FindLocation (@aarzilli) 946 - Use sched.pc instead of gopc for goroutine location 947 - Exclude dead goroutines from `goroutines` command output (@icholy) 948 949 ## [0.8.1-alpha] 2015-09-05 950 951 ### Fixed 952 - OSX: Fix error setting breakpoint upon Delve startup. 953 954 ## [0.8.0-alpha] 2015-09-05 955 956 ### Added 957 - New command: 'frame'. Accepts a frame number and a command to execute in the context of that frame. (@aarzilli) 958 - New command: 'goroutine'. Accepts goroutine ID and optionally a command to execute within the context of that goroutine. (@aarzilli) 959 - New subcommand: 'exec'. Allows user to debug existing binary. 960 - Add config file and add config options for command aliases. (@tylerb) 961 962 ### Changed 963 - Add Go 1.5 to travis list. 964 - Stop shortening file paths from API, shorten instead in terminal UI. 965 - Implemented several improvements for `next`ing through highly parallel programs. 966 - Visually align registers. (@paulsmith) 967 968 ### Fixed 969 - Fixed output of 'goroutines' command. 970 - Stopped preserving temp breakpoints on restart. 971 - Added support for parsing multiple DWARF file tables. (@Omie) 972 973 ## [0.7.0-alpha] 2015-08-14 974 975 ### Added 976 977 - New command: 'list' (alias: 'ls'). Allows you to list the source code of either your current location, or a location that you describe via: file:line, line number (in current file), +/- offset or /regexp/. (@joeshaw) 978 - Added Travis-CI for continuous integration. Works for now, will eventually change. 979 - Ability to connect to headless server. When running Delve in headless mode (used previously only for editor integration), you now have the opportunity to connect to it from the command line with `dlv connect [addr]`. This will allow you to (insecurely) remotely debug an application. (@tylerb) 980 - Support for printing complex numeric types. (@ebfe) 981 982 ### Changed 983 984 - Deprecate 'run' subcommand in favor of 'debug'. The 'run' subcommand now simply prints a warning, instructing the user to use the 'debug' command instead. 985 - All 'info' subcommands have been promoted to the top level. You can now simply run 'funcs', or 'sources' instead of 'info funcs', etc... 986 - Any command taking a location expression (i.e. break/trace/list) now support an updated linespec implementation. This allows you to describe the location you would like a breakpoint (etc..) set at in a more convenient way (@aarzilli). 987 988 ### Fixed 989 990 - Improved support for CGO. (@aarzilli) 991 - Support for upcoming Go 1.5. 992 - Improve handling of soft signals on Darwin. 993 - EvalVariable evaluates package variables. (@aarzilli) 994 - Restart command now preserves breakpoints previously set. 995 - Track recurse level when eval'ing slices/arrays. (@aarzilli) 996 - Fix bad format string in cmd/dlv. (@moshee)