Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Debug dll in an asp page.

Status
Not open for further replies.

yuli1104

Programmer
Feb 20, 2002
60
CA
Hello,

I am posting this question again because I can't figure it out after a whole day. I am using Win2k server.

I have an formslogin.asp page:

strUsername = Request("userName")
strPassword = Request("password")
strClientNumber = Request("clientNumber")
strAccountNumber = Request("txtAcctNo")
strAccountPassword = Request("txtAcctPwd")
strClientRef = Request("txtCliRefNo")


If Request.ServerVariables("REQUEST_METHOD") = "POST" Then
If Application("LOCALMODE") = "YES" Then
line 13: Set objMtsSeqNo = server.createobject"CmnAUtils1Dev.cmnASeqNo")
line 14: stop
line 15: blnRslt = objMtsSeqNo.GetSeqNoVnt(strConnAppl, strConnEnv, "t_web_session", lngWebSession, strClientNumber)

line16: Session(Application("cstWEBSESSION")) = lngWebSession

then I go to it goes to the asp debug.
On line 13, it created a object from dll. I set a stop point on line 14 trying to go through the dll vb code. I am
running the dll in vb project and set a break point at the GetSeqNoVnt function. But every time it will just go through line 15, and 16 without go into the dll vb code.

Can anybody give me detail instruction on how to do it, I have struggled for a whole day. thank you in advance.

yuli
 
you have to put the dll into component services
then run the dll's project it the ide and set the breakpoints then when it is called from the ASP you can walk through the code in the vb IDE. If your Dll is writen in C++ i'm not sure...never debugged a C component like that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top