Debug.Print(GC.Debug(true));
Please help.
  | ||||||||||||||
Debug.Print(GC.Debug(true)); DOESN'T Work
Started by smarcus3, Apr 15 2012 02:40 AM
9 replies to this topic
#1Posted 15 April 2012 - 02:40 AM
For some reason the following code isn't working for me. Debug doesn't exist.
Debug.Print(GC.Debug(true)); Please help. #2Posted 15 April 2012 - 02:49 AM
Adding the Microsoft.Spot.Native got the debug working but GC.Debug isn't there
#3Posted 15 April 2012 - 02:53 AM
Debug.Print(Debug.GC(true).ToString());
#4Posted 15 April 2012 - 03:24 AM
Hi smarcus3,
Yes, it should be Debug.GC(true) [not GC.Debug].
Is that working for you now?
Chris
#5Posted 15 April 2012 - 03:27 AM
Yup. Thanks. I was wondering if there is any side affect to calling a garbage collect whenever you wanted to. Does it seem possible that I have 47220 Bytes of free memory left. I'm using a N+ with 4.2 RC4
I also got my program working with 4.2. Im using a socket now.
#6Posted 15 April 2012 - 03:28 AM
Oh and always. Thanks soooo much for all the help. I am beginning to fall in love with netduino. I was so used to arduino but I believe I like the .net environment and debug environment much better.
#7Posted 15 April 2012 - 03:35 AM If you're not doing anything in your application, that's possible. We freed up some extra RAM in 4.2 Chris #10Posted 15 April 2012 - 03:58 AM
Thats the goal though last week, it just reminded me of how back of a stock week it was. Oh well.
0 user(s) are reading this topic0 members, 0 guests, 0 anonymous users | ||||||||||||||
|
||||||||||||||
This webpage is licensed under a Creative Commons Attribution-ShareAlike License. | ||||||||||||||