Click here to Skip to main content
16,022,309 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
See more:
Hello and good morning,

I am building a direct 3D renderloop using slimdx.
It has to be as much memory efficient as possible.
I already wrote some un(box), dispose, gc collect, application.doevents -fxcop rules that will give me a error when found.

I was wondering if it is possible to have a debug visualizer that shows whats in the stack and whats in the heap.

Anybody ?
Posted
Updated 11-Apr-11 21:44pm
v2
Comments
Sergey Alexandrovich Kryukov 12-Apr-11 3:04am    
Well, this is a serious question, my 5.
--SA

1 solution

Some information on the stack you can get using System.Diagnostics.StackTrace and System.Diagnostics.StackFrame, see some samples on the respective MSDN help pages. The problem with the heap is more difficult. See this discussion: http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/8e6db1e6-e429-4b4f-9ac6-5e848604188b/[^].

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900