Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Eclipse is freezing and laptop is not responding due to eclipse(Eclipse is freezing and laptop is not responding due to eclipse)
Eclipse is freezing and laptop is not responding due to eclipse [message #1795136] Sun, 16 September 2018 13:15 Go to next message
ankit  swarnkar is currently offline ankit swarnkarFriend
Messages: 1
Registered: September 2018
Junior Member
When I am running code written in C in eclipse it is getting hang and laptop is not responding after that. I have to remove battery and then my laptop starts to respond. What should be the problem ? This behaviour is due to executing particular code.
Re: Eclipse is freezing and laptop is not responding due to eclipse [message #1795366 is a reply to message #1795136] Fri, 21 September 2018 02:40 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
There really isn't enough information to determine the problem.
Sounds like a program stuck in a tight loop
or maybe using so much memory it is causing swapping which can look like a hang.

You need some way to locate where the problem is occurring in your code.
You can try placing breakpoints to narrow down the point in the code or
add a bunch of statements to trace the progress. Something like:

printf("I am in %s at line %d\n", __FILE__, __LINE__); fflush(stdout);

You need the fflush in case the stdout stream is buffered.
Previous Topic:Changing Include path
Next Topic:include path not found
Goto Forum:
  


Current Time: Thu Apr 25 23:48:29 GMT 2024

Powered by FUDForum. Page generated in 0.02795 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top