I have a problem with debugging ... Suddenly I do not see the values โโof most variables during debugging. I managed to get two different messages in the Immediate window:
It is not possible to get the value of a local or argument "parameter" because it is not available when specifying this instruction, possibly because it has been optimized.
and
Internal error in evaluating an expression.
I have tried and checked the following things:
- Solution configuration configured for debugging ( not )
- Project โ Settings โ Build โ Optimized code is not installed
- Tools -> Options -> Debugging -> Use Compatibility Mode with Managaed (doesn't work)
Do you have any further ideas on how I can properly debug again ?: (
Thanks in advance
Edit Code is nothing special. This happens when I try to see what's inside the [Key] parameter
public void AddOrUpdateQuartzJob(string jobName, IList<KeyValuePair<string, string>> parameters) { var jobDetail = this.GetJobDetail(jobName); if (jobDetail != null) { foreach (var parameter in parameters) { jobDetail.JobDataMap[parameter.Key] = parameter.Value; } } else { this.ScheduleNewJob(jobName, parameters); } }
xeraphim
source share