Hi,
I am trying to develop a new module in ns3. I am using eclipse IDE and have compiled debugged ns3 code in eclipse before. But now after adding the new module and trying to debug the ns-3 code , eclipse does not stop at breakpoints markedin my new module. It is not able to find source files for functions of new module and also for some core modules of ns3. At the same time it is able to find source files for wifi module. I am totally puzzled. Can any body give me solution as to how can i link source files to gdb in eclipse ? also as it can not find source files , i am not able to do step by step debugging.
The scenario is as follows
1. i have installed ns-3 in /home/MyUser/ns-allinone-3.22/ns-3.22
2. i have done ./waf -d debug configure --disable-examples --disable-python
3. installed eclipse and added the new project ns-3-dev with path given above.
4. configured debug cofinguration with LD_LIBRARY_PATH as {Workspace_loc:/ns-3-dev}/build
i have tried many things but no solution. Screen shot of debug configuration, source files and error i have attached. As you can see gdb can locate the source for yans-wifi-phy but can not locate source file for the new module or even Packet:: and Header:: modules as shown in the image.