✅ login code
hi im trying to run a login code but when i press login nothing happen
it shows no errors but nothing happen so how can i fix it ?
this is the button code
21 Replies
$debug
Tutorial: Debug C# code - Visual Studio (Windows)
Learn features of the Visual Studio debugger and how to start the debugger, step through code, and inspect data in a C# application.
Set a breakpoint and check whether the breakpoint was triggered.
If it wasn't triggered, then you are not subscribing to the button click event.
sry but do u have a yt vid or something
i didnt rly understand
ik i have to use ands learn it
but i still dont know how
Red highlight over the code and the red dot means a breakpoint has been set on that line.
Whenever it reaches that line, the breakpoint will trigger and it gives you incredible powers (even superpowers).
and how can i used that to know the error
By checking if it triggers, then you know you are not subscribed to the button click event.
If a breakpoint never hits, it means the code at that point is never executed, which could mean the logic is wrong or something you missed which executes that code. In this case I believe you missed subscribing to the event.
and i have to do that to all of the classes and codes or only the event one
Set a breakpoint on a line that you want to check
it keeps giving me this error
So for example you can set a breakpoint on the if statement line. (If DT.Rows.Count > 0)
Are you sure you have no errors?
well iam not sure tbh
Check Error List
i think there is
Yes
$paste
If your code is too long, you can post to https://paste.mod.gg/ and copy the link into chat for others to see your shared code!
god
Please paste code there then save and then copy link to here
That's it.
yeah its working now
thx bro
VS default behavior is to run old build if you have an error, for some reason.
But either way, anytime.