Why when I add a breakpoint when it stop and I put the mouse over the line it's not showing the text ?

Nedudale 141 Reputation points
2021-10-26T08:06:46.747+00:00

I'm using visual studio 2019 community

private void CreateDownloadFolders()  
        {  
            string locationToCreateFolderRadar = textBoxRadarPath.Text;  
            string locationToCreateFolderSatellite = textBoxSatellitePath.Text;  
            string folderName = "";  
            string date = DateTime.Now.ToString("ddd MM.dd.yyyy");  
            string time = DateTime.Now.ToString("HH.mm tt");  
            string format = "{0} On {1} {2}";  
            folderName = string.Format(format, date, time, "");  
            var p = Path.Combine(locationToCreateFolderRadar + folderName);  
            Directory.CreateDirectory(locationToCreateFolderRadar + folderName);  
            Directory.CreateDirectory(locationToCreateFolderSatellite + folderName);  
        }  

I put a breakpoint on the line :

Directory.CreateDirectory(locationToCreateFolderRadar + folderName);  

It stopped there and then I move the mouse cursor over the string locationToCreateFolderRadar but it's not showing it's content not also the other variables in this method.

I'm calling this method from this button click event :

private async void btnStart_Click(object sender, EventArgs e)  
        {  
            CreateDownloadFolders();  
  
            urls = new List<string>();  
  
            lblStatus.Text = "Downloading...";  
  
            rad.GetRadarImages();  
            await Task.Delay(5000);  
            foreach (string link in rad.links)  
            {  
                urls.Add(link);  
            }  
  
            await sat.DownloadSatelliteAsync();  
            foreach (string link in sat.SatelliteUrls())  
            {  
                urls.Add(link);  
            }  
  
            urlsCounter = urls.Count;  
  
            await DownloadAsync();  
        }  

Screenshot showing the breakpoint and that it's not showing the content when the mouse cursor is over it.

143693-ab1.jpg

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,922 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,295 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.