Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Debug stored procedures through VS2005 in DNNDebug stored procedures through VS2005 in DNN
Previous
 
Next
New Post
4/14/2007 12:07 AM
 

I have learned that you can debug by stepping into stored procedure (SP) code in VS 2005 from your .NET code. This great feature allows you to watch line by line the execution of both your .NET code and SP code that you are calling from your .NET code.

If you don't know what I mean here is an example. You are debugging your .NET application line by line. Then when you execute the line that calls the SP, your debugger jumps into the stored procedure being called (if you have set a break point in that SP) and you can debug the stored procedure line by line just like .NET code. And then you can even return back to the .NET code debugging after the last line of that SP has executed if you have another break point in the .NET code following the call that executed the SP.

The only problem is that I was not able to do this with Dotnetnuke. I was only able to do it through a simple VB.NET web application using the following method to call the stored procedure:

SqlDataReader myReader = myPR.ExecuteReader();


I am wandering why I can't jump into stored procedure code from my DNN website. Would it have something to do with the fact that the data access layer-ed way of DNN calls stored procedures in a different way (using the SqlHelper class)?

Return CType(SqlHelper.ExecuteReader(ConnectionString, GetFullyQualifiedName("GetDetail"), Param1, Param2), IDataReader)

Please help me and help this community if you know the answer! Thanks!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Debug stored procedures through VS2005 in DNNDebug stored procedures through VS2005 in DNN


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out