/// <summary>
 /// Contructeur
 /// </summary>
 /// <param name="designer"></param>
 internal VisualTracking(WorkflowDesigner designer, Boolean slowTrack)
 {
     _designer  = designer;
     _slowTrack = slowTrack;
     _tracks    = new ObservableCollection <String>();
     BindingOperations.EnableCollectionSynchronization(_tracks, _tracksLock);
     VisualMapping.GetMaps(_designer, out _wfElementToSourceLocationMap, out _activityIdToWfElementMap);
 }
        public static void GetMaps(WorkflowDesigner designer, out Dictionary <object, SourceLocation> wfElementToSourceLocationMap, out Dictionary <string, Activity> activityIdToWfElementMap)
        {
            VisualMapping mapping = new VisualMapping(designer);

            //Mapping between the Object and Line No.
            wfElementToSourceLocationMap = mapping.UpdateSourceLocationMappingInDebuggerService();

            //Mapping between the Object and the Instance Id
            activityIdToWfElementMap = mapping.BuildActivityIdToWfElementMap(wfElementToSourceLocationMap);
        }