Skip to content

question a bout debuger #92

@khalilismr

Description

@khalilismr

Hi;
I run this program for testing debuger; by the way I install "go get github.com/mailgun/godebug" , but I did'n know how to use this debuger in to my program,plz help me ,
Thank'a alot.
Samira;
(Test debuger)
package main
import (
"bufio"
"fmt"
"os"
)
func main() {
_ = "breakpoint"
fmt.Println(-> fmt.Println("Hello, world!"))
bufio.NewScanner(os.Stdin).Scan()
fmt.Println("Hello, world!")
}

For run my program
testGo # go build
testGo # godebug run testGo

(after run i have this error)
No command 'godebug' found, did you mean:
godebug: command not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions