Break points

We are writing an App that uses ASP as the interface and VB for the Objects.  Is there a way to set break points in the VB Object so that when a method is called from ASP we can step through the VB to find out where it's blowing up?
jeep_xoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RameesCommented:
Hi you can set break point in the ASP using visual interdev by the result will be displayed only in the immediate and watch window. You must select the Debug / Process menu to select the browser file.
0
jeep_xoAuthor Commented:
It's fine to set the break point in Interdev except that on some of the ASP pages the only Jscript might be a single call to the VB Object.  In this case I have no Idea where the VB has the problem.  I know about binding IE to interdev through the debug/process menu.  What I need is one step further... so we can step through the VB to see what's wrong.  I realize we can set a form up in VB to test it there but periodically, what you think is being sent from ASP is not in the same form as what you tested in the VB Form.
0
JuiletteCommented:
maybe you could take the long way home and use msgboxes ..ie..
msgbox "I have " & var & " here!"
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

jeep_xoAuthor Commented:
That is what we are currently doing!
0
JuiletteCommented:
! always sounds angry for some reason!

Have a good one.
Wayne
0
jeep_xoAuthor Commented:
Didn't intend it to sound that way!!:-)
0
PiNCommented:
Yes, there is ...

- set your breakpoint

- start your dll (sounds strange but it makes the vbp the registered dll)

- make your asp-request

There are two requirements. You need to develop the vbobject on the machine your iis is on.

You have to be a fast debugger, otherwise your http-response will timeout...(but it's good enough for debugging if you get to the breakpoint and can step anyway.)

Nothing else is required.
Hope that helps.

PiN
0
jeep_xoAuthor Commented:
I set the break point...saved the files then built the DLL.  It compiled fine but when I ran the ASP there was no difference.  I tried again and left VB6 open at the break point.  Nothing happened.  Then I put a break point in interdev at the call statement and bound IE to it through the debugger.  Stepped through the ASP...but no VB Objects.
0
PiNCommented:
No just leaving VB open .... start the dll too.
Leaving VB open doesn't help you.
0
PiNCommented:
Are you there ?
I know it works...I have to do it every day.

;-)

- Set your breakpoint
- Press play in you VB-Project
- Request the calling asp

.... and there you go...
0
jeep_xoAuthor Commented:
Sorry was in a planning meeting.

I have a form set up as an executable in the VB Project. Could this be the problem?

0
PiNCommented:
Yes....could be it... try running the dll only (may sound strange, but it helps)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jeep_xoAuthor Commented:
Thanks PiN:

you've made life much easier for the other guys in my office.  I unfortunately am Using W2K Server on my machine and NOTHING cool like that works on it.  I should have stated that in my original question.  All the guys using NT4 express their greatest thanks to you.
0
PiNCommented:
You're welcome. ;-)
Thanks for the points.

PiN
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.