for those of you who do C#, what is there something like VB's stop command in C# that would stop the debugger
Printable View
for those of you who do C#, what is there something like VB's stop command in C# that would stop the debugger
You mean in the IDE ?:rolleyes:
well you put STOP in your code and when the debugger reaches that line it PAUSES on that line.... isnt there anything like that in C#?Quote:
Originally posted by Pirate
You mean in the IDE ?:rolleyes:
Set a break point. Click in the left margin beside the line where you want the execution to stop. A red circle should appear.
eeh well yeah that's what I was doing:D but I thought maybe C# is kind and keen like VB and it provides a way to stop the debugger by code. Well, apparently not... hehe thanks anywaysQuote:
Originally posted by DevGrp
Set a break point. Click in the left margin beside the line where you want the execution to stop. A red circle should appear.
Nothing like this in C# .
System.Diagnostics.Debugger.Break();
VB Code:
System.Diagnostics.Debugger.DidNotKnowThat():bigyello:
you big lier:D if you didnt know it then you should have said that you dont know it, instead of saying it doesnt exist heheQuote:
Originally posted by Pirate
Nothing like this in C# .
thanks Dmyze, I was looking in Diagnostics.Debug instead of Debugger... hehe