Skip to main content



      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 09:15 Go to next message
Eclipse UserFriend
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] Thu, 20 September 2018 22:40 Go to previous message
Eclipse UserFriend
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: Wed Jul 02 21:20:05 EDT 2025

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

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

Back to the top