Debugging single c# class

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • omar

    #1

    Debugging single c# class

    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.
  • Nicholas Paldino [.NET/C# MVP]

    #2
    Re: Debugging single c# class

    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.


    --
    - Nicholas Paldino [.NET/C# MVP]
    - nick(dot)paldin o=at=exisconsul ting<dot>com

    "omar" <omar_baqueiro@ hotmail.com> wrote in message
    news:e6dda48b.0 310060903.78061 3fa@posting.goo gle.com...[color=blue]
    > 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.[/color]


    Comment

    Working...