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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top