Bugs zoeken is een slopende bezigheid
Thursday 1 March 2007 om 20u22
Ik ben kapot, ben al een uur of 2 aan ‘t zoeken naar een bug die mijn simulatie doet crashen. Ik kan niet deftig debuggen omdat ik moet attachen aan het proces en dan krijgt ge enkel raw assembler te zien, en dat is een hel om te debuggen (lees: onmogelijk). Enfin, uiteindelijk blijkt dat ge uw self-messages in OMNeT++ niet moogt deleten.
Delete everything which was allocated by new and is still held by the module class. With self-messages (timers), use the cancelAndDelete (msg) function! It is almost always wrong to just delete a self-message from the destructor, because it might be in the scheduled events list. The cancelAndDelete(msg) function checks for that first, and cancels the message before deletion if necessary.
Hmkeeeej…
Gepost in: School, Tiens tiens
2 Commentaren Zelf commentaar toevoegen
1.
Steven | Friday 2 March 2007 om 21u50 |
Gepost met Firefox 1.5.0.10 op Windows XP
als het niet lukt ge moogt mij altijd bellen he.
Om er ene op te gaan drinken, that is
2.
jesus_ | Friday 2 March 2007 om 22u21 |
Gepost met Firefox 2.0.0.2 op Windows XP
Genoteerd
Laat commentaar achter
Toegelaten HTML:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>
Trackback | Volg de commentaren via de RSS-feed.