Eclipse crashes System [message #1791630] |
Tue, 03 July 2018 03:58  |
Eclipse User |
|
|
|
Hello everybody.
I mainly use eclipse based tools for programming STM32 microcontrollers.
But sometimes I need to test some Source Code and use the C/C++ IDE.
Unfortunately for the last few days I have the following problem:
I run Eclipse Oxygen (also tried with Photon) on a 32bit Windows System with a MinGW compiler toolchain.
Building and running programs works perfectly fine.
But whenever I want to debug a program, eclipse starts to load the debugging configuration and my whole system just freezes.
The monitors still display the current window but mouse and keyboard have no power and I'm forced to do a hard reset.
I already searched for a solution and tried to change debug configurations, like setting the environment variable manually and checked the path to the gdb.exe.
I also reinstalled MinGW and changed eclipse versions from Oxygen to Photon to Neon to Photon.
But nothing worked.
Sidenote: System Workbench for STM 32 works perfectly fine. But it uses another toolchain and no MinGW.
Attached are the settings in my debug configuration aswell as my system path variable.
Has anybody an idea why my system crashes?
I would be very glad for any help regarding my problem.
Thanks in advance.
Best Regards,
Florian
|
|
|
|
|
|
|
|
Re: Eclipse crashes System [message #1792473 is a reply to message #1792426] |
Wed, 18 July 2018 07:54  |
Eclipse User |
|
|
|
Hello
Tauno Voipio wrote on Tue, 17 July 2018 16:54So the problem does not have anything to do with STM32?
Yes, it has nothing to do with STM32.
Tauno Voipio wrote on Tue, 17 July 2018 16:54
Please open your Eclipse CDT and go to Help -> Help Contents -> C/C++ Development User Guide -> Before you begin, and follow the instructions there.
I followed the steps in the Getting Started Guide.
As I mentioned before I can succesfully create a "Hello World"-Project, build and run it.
Only when I try to debug it, the whole system freezes.
Pictures of my debug-Settings are attached to my first post.
I'm not sure if the problem lies in the debug configuration but it even crashes when I create a "Hello World"-project and use only the default settings.
On another system creating a "Hello-World"-project, building, running and debugging it, without changing any of the configurations works perfectly fine.
So my guess would be that there is some kind of global setting which causes this error. But unfortunately I have no idea where to look.
If it is of any help:
The freeze occurs when the debugging loading scale on the bottom right corner reaches 96%.
Thank you for your help.
Best regards,
Florian
|
|
|
Powered by
FUDForum. Page generated in 1.13965 seconds