Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Debug of fork() crashes(I want to debug a c++ program with two process created by fork)
Debug of fork() crashes [message #1797820] Wed, 07 November 2018 00:11
Patrick Su is currently offline Patrick SuFriend
Messages: 1
Registered: November 2018
Junior Member
First my Data:
OS: Ubuntu 18.04.01 LTS
Kernel: 4.15.0-38
Version: 2018-09 (4.9.0)
Build id: 20180917-1800

I want to debug a c++ program with two process created by fork. I insert two breakpoints at each of the processes and start the debugging. As soon as one breakpoint is reached the debugging crashes. In the attached picture (debug_18-04-01) you can see the output of the debug window.

index.php/fa/34265/0/

I also tested the same program on another OS (Manjaro) with the same eclipse version. Here are no problems. See attached picture (debug_manjaro_2).

index.php/fa/34266/0/

Could someone explain what is the matter with Ubuntu? Is there a workaround availiable?
Previous Topic:Eclipse, CDT, clang, Windows - Need help for install/configure
Next Topic:Compiling C++ code or solution
Goto Forum:
  


Current Time: Tue Apr 23 10:49:06 GMT 2024

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

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

Back to the top