| Author |
Message |
Jamie Clayton
Joined: 21 Oct 2005 Posts: 14 Location: Brisbane, Australia
|
Posted: Thu Jun 10, 2010 11:55 am Post subject: Code to trigger snapshots |
|
|
G'day,
I've got a memory issue that I really want to measure at an exact point in the code tree to ensure that any modifications I make between run's are easy to compare results.
Is there a way to inject code (or markers) into the .net application that would ensure that the memory profiler took a snapshot at exactly the same place for each profile run? E.g. OnLargeProcessButton.Click AMPxx.Shapshot.....then do normal code.
Alternatively (really cool) would be if you could do the same things that the VS IDE breakpoints could do, aka, apply some sort of logic to code based snapshots. E.g. If collection.count =10,000 then AMPxx.Snapshot _________________ Jamie Clayton
Senior Software Developer
Jenasys Design Pty Ltd, Australia |
|
| Back to top |
|
 |
nick.maidment
Joined: 29 Jan 2010 Posts: 74
|
Posted: Fri Jun 11, 2010 2:03 pm Post subject: |
|
|
Hi jamie,
This isn't something the profiler can do at the moment but I've added your comments to the feature request so it can be considered for future releases. |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group