Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatible with GOP file breakpoints #13

Closed
wants to merge 16 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: remove print sources
  • Loading branch information
LiusCraft committed Jan 21, 2024
commit b9f3ec1d07674b4cdd9ee90e520652b045b95176
4 changes: 0 additions & 4 deletions pkg/proc/bininfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,6 @@ type ErrCouldNotFindLine struct {

func (err *ErrCouldNotFindLine) Error() string {
if err.fileFound {
panic("aaaa")
return fmt.Sprintf("could not find statement at %s:%d, please use a line with a statement", err.filename, err.lineno)
}
return fmt.Sprintf("could not find file %s", err.filename)
Expand Down Expand Up @@ -2339,9 +2338,6 @@ func (bi *BinaryInfo) loadDebugInfoMaps(image *Image, debugInfoBytes, debugLineB
}
sort.Strings(bi.Sources)
bi.Sources = uniq(bi.Sources)
for i, v := range bi.Sources {
fmt.Println(i, v)
}
if cont != nil {
cont()
}
Expand Down