____  ___    _  _     _   _ _____     _______
 / ___|/ _ \  | || |   | | | |_ _\ \   / / ____|
| |  _| | | | | || |_  | |_| || | \ \ / /|  _|
| |_| | |_| | |__   _| |  _  || |  \ V / | |___
 \____|\___/     |_|   |_| |_|___|  \_/  |_____|

 --- A GOPHER-LIKE INTERFACE FOR HIVE BLOCKCHAIN ---

Go 언어용 디버거, dlv

BY: @ingee | CREATED: April 5, 2018, 7:36 a.m. | VOTES: 0 | PAYOUT: $0.00 | [ VOTE ]

개요

설치 및 사용 방법

사용예

PS D:\git\go\src\hello> dlv debug
Type 'help' for list of commands.
(dlv) break main.main
Breakpoint 1 set at 0x4aa216 for main.main() D:/git/go/src/hello/hello.go:5
(dlv) continue
> main.main() D:/git/go/src/hello/hello.go:5 (hits goroutine(1):1 total:1) (PC: 0x4aa216)
     1: package main
     2:
     3: import "fmt"
     4:
=>   5: func main() {
     6:   fmt.Printf("Hello, world\n")
     7: }
(dlv) next
> main.main() D:/git/go/src/hello/hello.go:6 (PC: 0x4aa224)
     1: package main
     2:
     3: import "fmt"
     4:
     5: func main() {
=>   6:   fmt.Printf("Hello, world\n")
     7: }
(dlv) next
Hello, world
> main.main() D:/git/go/src/hello/hello.go:7 (PC: 0x4aa24e)
     2:
     3: import "fmt"
     4:
     5: func main() {
     6:   fmt.Printf("Hello, world\n")
=>   7: }
(dlv) continue
Process 11340 has exited with status 0
(dlv)

특이사항

TAGS: [ #golang ] [ #dlv ] [ #debug ] [ #kr ]

Replies

@steemitboard | April 5, 2018, 6:28 p.m. | Votes: 0 | [ VOTE ]

Congratulations @ingee! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

[IMAGE: https://steemitimages.com/70x80/http://steemitboard.com/notifications/votes.png] Award for the number of upvotes

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

> Upvote this notification to help all Steemit users. Learn why here!

Do not miss the last announcement from @steemitboard!

[ BACK TO TRENDING ] [ BACK TO MENU ]
CMD>