Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Breakpoints in Classes
Message
De
13/10/2007 09:40:53
Irv Adams
MSC Managed Care, Inc.
Floride, États-Unis
 
 
À
12/10/2007 17:49:26
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01260669
Message ID:
01260811
Vues:
18
Tim,

Thanks for the additional info. I have been working with C# Winforms for a while now and am still getting used to the interface. I have done some work using .NET Winforms as a presentation and BO layer, and FoxPro COM objects as the data-interaction tier, MS SQL as data repository. Speaking more than one computer language is confusing sometimes :-)

>Irv,
>
>As Einar mentioned just as the other project to your solution. This keeps the project stored where it was and does not affect your ability to open it in it's own solution as before. I believe you can also add the debugging symbols under Tools | options - debugging so that you can step through that code without adding it to your solution.
>
>Tim
>
>>>>>>I have a C# Winform project that has a Reference to a C# class project. I set breakpoints in the class project and then run the Winform and I cannot make it go into the class and stop at the desired line. It just skips over the entire class code segment no matter where I put breaks.
>>>>>>
>>>>>>Also, In FoxPro there's a 'step into' Debug function and all I see in my Winforms project is 'Step Over'. I think this is a separate issue(?)
>>>>>>
>>>>>>Thanks,
>>>>>
>>>>>If you make the C# class project (DLL) part of the same solution as the C# Winform project you can debug into the DLL.
>>>>>
>>>>>"Step Into" is F11 (or it can be found in the toolbar or the Debug menu)
>>>>>
>>>>>Einar
>>>>
>>>>Thanks Einar!
>>>>
>>>>This was frustrating me, thanks for the answer. With my class now combined (added to) the Winform Solution, where does it actually 'live' in terms of latest edited version, etc? Will it actually be saved and stored with the Winform solution or remain separate?
>>>>
>>>>Thanks again,
>>>
>>>You are welcome.
>>>Did you add just the class to the Winform project in the Winform solution, or did you add the class project to the Winform solution?
>>>
>>>A solution is a collection of projects, and a project is a collection of classes (and other files). In VS you can not create a project without it being part of a solution (if you can please let me know how because I can't figure it out).
>>
>>Oh, I see. I just added the class code and now I think it is living in two distinct places. I would actually like to keep them separated if possible, because one is a presentation tier Winforms project and the other is a class project of code-only Business Objects.
>>
>>It would be nice to separate them so I could work on each individually without the distraction of the other. The only issue I see is the drill-down feature of the debugger.
>>
>>Appreciate the feedback,
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform