mirror of
				https://github.com/go-delve/delve.git
				synced 2025-10-31 02:36:18 +08:00 
			
		
		
		
	 b370e20cd5
			
		
	
	b370e20cd5
	
	
	
		
			
			1. A running goroutine is by definition not parked waiting for a chan recv 2. The FDE end address is intended to be exclusive, the code interpreted as inclusive and sometimes ended up setting a breakpoint on a function other than the current one.
		
			
				
	
	
		
			16 lines
		
	
	
		
			206 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			206 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package main
 | |
| 
 | |
| import "fmt"
 | |
| 
 | |
| func main() {
 | |
| 	m := make([]string, 1, 25)
 | |
| 	fmt.Println(m) // [ ]
 | |
| 	changeMe(m)
 | |
| 	fmt.Println(m) // [Todd]
 | |
| }
 | |
| 
 | |
| func changeMe(z []string) {
 | |
| 	z[0] = "Todd"
 | |
| 	fmt.Println(z) // [Todd]
 | |
| }
 |