简体   繁体   中英

Run from eclipse IDE works fine but terminates when run from terminal

I'm using eclipse CDT in linux. I have a code that uses threads, TCP, files etc. This program runs fine in the Eclipse IDE but when I try to run this from the linux terminal, the program gets terminated in between. There is no error message shown. Can someone help me?

I found the problem I was facing. One of my thread was trying to send through TCP before connection. I still don't know why it had no issues while running in IDE. Now it works fine after i modified my code to use TCP only after connection has been established.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM