Hello every one !
With this example from 
i had some problerms when seting “ErrorCount” variable getting an error: "execution state doesn't allow ...".
here is a solution: File->Properties->Auto Run and Launch Options
and activate the option "Halt the target before any ..."
this will allow you to access symbols in real time when debugging.
Hope it helps anyone !
PS: exuse my poor english i'm french-spanish !
See you !