Debugging single c# class

  • Thread starter Thread starter omar
  • Start date Start date
O

omar

I was wondering if it is possible in c# to debug a single class or
class function. I mean, in Java i can make a class and then initiate
it passing the parameters (like command line parameters) and then
debug it.

thnks.
 
Omar,

Yes, it is like any other program. If you have the code, load the code
in a project and place a breakpoint where you want to debug. Then, write
another piece of code that will access the class/method that you set the
breakpoint in and viola!

Hope this helps.
 
Back
Top