tradelat.blogg.se

Visual studio code debugger does not work
Visual studio code debugger does not work




  1. #Visual studio code debugger does not work .exe#
  2. #Visual studio code debugger does not work code#

But it didnt change any row at the excel file, I mean If a row must be change, "UPDATE" query's row is working.

#Visual studio code debugger does not work .exe#

exe file again and I attached it to process from VS and I use F11, I noticed that codes are going normally. exe file,Īnd it works normally! "UPDATE" query works and changes the some rows. After that I erase about 6500 rows and saved it to excel file. exe file and click the button, it didnt change any row at the excel file. Actually I didnt understand what i did wrong because I did everyhing same before. I compile again and put breakpoint in the "button_click" and I attach it to proceess and it stop at this breakpoint.

#Visual studio code debugger does not work code#

I also suggest to put some messagebox in the middle of the code to help you follow better what's up. To be absolutely sure that you point to the correct folder, delete the bin folder and upon Try recompiling again, because it could be due to have a different executable in respect to the source code, and they must match to attach successfully a process. If the code is not hit by the debugger, then I would try to put a breakpoint at the first executable line of the button click method, so to block as soon as possible the execution when in the form you click the button, and then step through via F10/F11.

visual studio code debugger does not work

SET ='OK' WHERE ='" + rdr_ci + "' ", baglanti) OleDbCommand komut_ustune_yaz = new OleDbCommand("UPDATE

visual studio code debugger does not work

SET ='OK' WHERE ='" + rdr + "' ", baglanti) Įlse if (tarih2_baslangic >= tarih1_baslangic & tarih2_baslangic <= tarih1_bitis) If (tarih1_baslangic > tarih2_baslangic & tarih2_bitis > tarih1_baslangic) If (int.Parse(rdr_ci.ToString()) > int.Parse(rdr.ToString())) If (int.Parse(rdr_ci.ToString()) != int.Parse(rdr.ToString())) String ikincidongu = rdr.ToString() ĭateTime tarih2_baslangic = DateTime.Parse(rdr_ci.ToString()) ĭateTime tarih2_bitis = DateTime.Parse(rdr_ci.ToString()) OleDbCommand komut_ci = new OleDbCommand(query_ci, baglanti) String query_ci = "SELECT, FROM WHERE ='" + ci_adi + "'" OleDbCommand komut = new OleDbCommand(query, baglanti) ĭateTime tarih1_baslangic = DateTime.Parse(rdr.ToString()) ĭateTime tarih1_bitis = DateTime.Parse(rdr.ToString()) OleDbConnection baglanti = new OleDbConnection("Provider=.12.0 Data Source=dosya.xlsx Extended Properties=Excel 12.0 Xml ") Private void button1_Click(object sender, EventArgs e) Its really weird and i didnt know what is the problem? And i didnt move this "excel.exe" file to anywhere, i started it in projects folder.(/bin/debug)

visual studio code debugger does not work

Its getting no error but it didnt do any changes at this excel file. Project's "excel.exe" and run it manually, it doesnt work properly. When i debug my program at Visual Studio (pressing F5), its working properly and made some changes at excel file. Im just working on a program that changes some row's values in an excel file.






Visual studio code debugger does not work