473,323 Members | 1,537 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

debugging in asp.net and asp - urgent

P K
Hi,

I am calling a .net class function from an asp page.
I want to step through that function.
Looks like though I can debug asp code I cannot debug the .net dlls referred
in the asp code.

How can it be done???

Thanks
P K
Jan 4 '06 #1
4 1286
How are you calling the "function" in classic ASP? ASP cannot invoke .net
assemblies directly. Are you doing something like invoking it through a com
interface?

"P K" <PK@discussions.microsoft.com> wrote in message
news:CF**********************************@microsof t.com...
Hi,

I am calling a .net class function from an asp page.
I want to step through that function.
Looks like though I can debug asp code I cannot debug the .net dlls
referred
in the asp code.

How can it be done???

Thanks
P K

Jan 4 '06 #2
P K
ya it is using server.createObject to create the class and use the function.
Is there a way anyways?

"Peter Rilling" wrote:
How are you calling the "function" in classic ASP? ASP cannot invoke .net
assemblies directly. Are you doing something like invoking it through a com
interface?

"P K" <PK@discussions.microsoft.com> wrote in message
news:CF**********************************@microsof t.com...
Hi,

I am calling a .net class function from an asp page.
I want to step through that function.
Looks like though I can debug asp code I cannot debug the .net dlls
referred
in the asp code.

How can it be done???

Thanks
P K


Jan 4 '06 #3
HK
Perhaps that's the problem? Are you receiving an instantiation error? Or
what type of error?

I don't think you can debug into a .NET DLL even if you instantiate it
somehow. But as for debugging, why not just create a test application in
..NET that calls the DLL with the same arguments? Then you can debug to your
heart's content.
"P K" <PK@discussions.microsoft.com> wrote in message
news:3A**********************************@microsof t.com...
ya it is using server.createObject to create the class and use the function. Is there a way anyways?

"Peter Rilling" wrote:
How are you calling the "function" in classic ASP? ASP cannot invoke ..net assemblies directly. Are you doing something like invoking it through a com interface?

"P K" <PK@discussions.microsoft.com> wrote in message
news:CF**********************************@microsof t.com...
Hi,

I am calling a .net class function from an asp page.
I want to step through that function.
Looks like though I can debug asp code I cannot debug the .net dlls
referred
in the asp code.

How can it be done???

Thanks
P K


Jan 5 '06 #4
P K
Hello,

The application is a .net solution with a lot of asp and aspx pages.
Now, while debugging the asp page I get no error, it only doesn't step
through the .net function being called.

Well, if there is no other way then test application sounds ok.

Thanks

"HK" wrote:
Perhaps that's the problem? Are you receiving an instantiation error? Or
what type of error?

I don't think you can debug into a .NET DLL even if you instantiate it
somehow. But as for debugging, why not just create a test application in
..NET that calls the DLL with the same arguments? Then you can debug to your
heart's content.
"P K" <PK@discussions.microsoft.com> wrote in message
news:3A**********************************@microsof t.com...
ya it is using server.createObject to create the class and use the

function.
Is there a way anyways?

"Peter Rilling" wrote:
How are you calling the "function" in classic ASP? ASP cannot invoke ..net assemblies directly. Are you doing something like invoking it through a com interface?

"P K" <PK@discussions.microsoft.com> wrote in message
news:CF**********************************@microsof t.com...
> Hi,
>
> I am calling a .net class function from an asp page.
> I want to step through that function.
> Looks like though I can debug asp code I cannot debug the .net dlls
> referred
> in the asp code.
>
> How can it be done???
>
> Thanks
> P K


Jan 5 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Simon | last post by:
Hi everyone I'm having a very frustrating problem with debugging my code at the moment. The problem concerns breakpoint working in some methods, but not others. In an aspx codebehind I have...
1
by: das | last post by:
Hi I have started a new asp.Net application. I have places some components on the form. but when I run the application i get the following error. Error while trying to run project: unable to start...
7
by: | last post by:
I'm writing an ASP.NET app, using Visual Studio 2003. VS is running locally on my laptop, but the web app is running on a remote server. My laptop is not in the domain. I do have a domain account....
5
by: phnimx | last post by:
Hi , We have developed a number of plug-in .NET Library Components that we typically deploy with our various applications by installing them into the GAC. Each of the applications contains an...
1
by: | last post by:
How do you debug the design time behavior of user controls? I have code in the controls resize event and I've flagged a break point, but the code never breaks when I play with the control on the...
3
by: =?Utf-8?B?QWxleCBNYWdoZW4=?= | last post by:
Does anyone know why I have no "Step Into" option during debugging in VS 2005/C# app? I have "Step Over" but no "Step Into" even though it would be stepping into one of my own functions inside the...
3
by: Rick | last post by:
We have a web site that was built as an ASP.Net Web Site, I am unable to remote debug, when build ing the web site there is not a dll or PDB file generated. I can debug on my local machine but...
4
by: =?Utf-8?B?TWlrZSBHYWxl?= | last post by:
VS 2008 initially didn't debug classic ASP. SP1 fixes this in some ways. You can debug if you select the debug option to "Start Without Debugging, then either attach the debugger manually or...
5
by: =?Utf-8?B?dXNmaW5lY2F0cw==?= | last post by:
I'm new to asp.net. I'm trying to follow the tutorial walkthroughs and have got a few done. Now I'm doing the one about validating input, and I've run into some problems. In particular, I am...
7
by: GaryDean | last post by:
(this was also posted on the MSDN WCF forum but the answers over there are not so good) I have a WCF Library hosted by IIS 6 and it all works fine. However I need to step through the code in the...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.