Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Coffee corner » Crazy(?) idea about debugging
Crazy(?) idea about debugging [message #20434] Wed, 18 March 2009 15:19 Go to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

Sometimes you have crash and have no idea what really led program to the exception. Let`s imagine we have a debug version of our program running with debug version of memory mamanger, which "knows" where and which variables are situated. Let`s imagine we have a background thread which is continiously passing all the variables making their snapshots i.e. once per 50 milliseconds. This thread keeps "history" with something about 100 snapshots per variable.
So the idea is, when exception is executed, memory manager does some analysis. Analysis covers all the variables. If variable isn`t changed through it`s history, it is thrown out from list. More variable is changed through it`s history, closer to top it is. In the end we will have something like "crash story" with top variables from list, which most likely led to the exception.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stuck with icq
Next Topic: M$
Goto Forum:
  


Current Time: Mon Apr 29 07:43:57 CEST 2024

Total time taken to generate the page: 0.02804 seconds