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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual InterDev and Debugging

Status
Not open for further replies.

sabev

Programmer
Sep 27, 2002
47
0
0
US
I’m still quite new to Visual InterDev (VID), in fact this is my second web app and the first one developed with VID.

I’m having debugging problems, I think.

VID is on a client (my development machine). IIS and the service that processes the XML is on a server. The application that processes the XML can’t be on the client because of a software conflict.

I am customizing an existing, out of the box, ‘does every thing application’ that uses lots of javascript. My ASP is vbScript.

I have set up remote debugging, and am able to debug, line by line my vbScript ASP pages. But, as soon as a javascript function is called in a .js file (runs locally) I can no longer step through the code.

Questions -

1. Can VID debug a javascript file? Shouldn’t I be able to ‘step’ through them?

2. Am I having problems because IIS and the XML service is loaded on a different machine than VID?

Side note:
I could set up IIS, the XML service and VID on my development machine. But it will take some doing. And, I’ll loose a piece of software that I need a great deal (because of the software conflict).

I’ve been told that the software conflict is resolved in the new version of software. We have it, but my boss won’t let us install it yet. "It’s too new and may be full of bugs". I have already pushed for the install. Before I push any harder, I would like to know that it’s not a VID issue. (The conflict is between two pieces of software built by the same company. ESRI, Geographic Information System software [it conflicts itself. ESRI built the XML service as well. ], an incredibly big, if not the biggest COM development).
 
I cannot answer your question directly because I do not use remote debugging with VI. However, I know that it is possible to debug locally run javascript because I do it on my own development machine. It is a little more tricky, however, because I can only debug JS when I have set my stop line before the JS. For some reason (I've not yet worked out), it does not like to do it directly.

I would think that it is not possible to debug locally run JS on a remote server since everything is then running off of the server, not the local machine. I believe there is some help for this issue on the MS Knowledge Base. I have a hard-copy somewhere of the article, but I'm not at the office this week. I'll do some searching later and see if I can find it.

------------------------------------------------------------------------------------------------------------------------
If you don't have a sense of humor, you probably don't have any sense at all.
- Anonymous
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top