开发者

gdb error "Program exited normally"

开发者 https://www.devze.com 2023-02-08 15:17 出处:网络
when开发者_JAVA技巧 i bedug the programme through gdb it is giving error [Thread 0x8003 (LWP 6186) exited] and Program exited normally can any body help me to come out this problemThat is not an error

when开发者_JAVA技巧 i bedug the programme through gdb it is giving error [Thread 0x8003 (LWP 6186) exited] and Program exited normally can any body help me to come out this problem


That is not an error, from gdb's point of view. Your program just finished gracefully, with a return value of 0, and gdb informs you of that.

You might want to set a few breakpoints before starting your program, so you can poke around in whatever you wish to see. The most obvious thing (which may or may not be useful in your case) would be

b main
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号