I've wrote a simulate script as in the attached file "simu.cc" which is almost copyed from "first.cc" and "src/examples/wireless/wifi-ap.cc" . It can't stop when I run it.
I'v try to find the reason:
1. Print the log to find out what's going on in the simulation using "export 'NS_LOG=*=level_all|prefix_func'" and "./waf --run simu". The problem is that the log is too many to understand as the simulation core is not fully describled in the manual.
2. Using debug to find the underlying data structure, but it's also difficult for me.
I also find a
similar problem, but I'm sure that all the time sequence is correct in my script.
There're must be some events in the simulation core, and is there some way to find it?
Could anyone tell me how to deal with it or help me to correct it?