调试ASP页面 [英] Debug ASP pages

查看:84
本文介绍了调试ASP页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我们正在开发  ASP   Windows CE  页面;设备。我们需要调试ASP页面以减少开发工作量。 ASP页面使用COM组件从
设备获取数据。在Windows CE设备上运行的Web服务器是Httpd。

We are developing ASP pages for a Windows CE device. We need to debug the ASP pages for reducing the development effort. The ASP pages uses a COM component for getting data from the device. The web server running on the Windows CE device is Httpd.

我们如何调试在  Windows CE  设备?

How can we debug the ASP pages running in Windows CE device?

推荐答案

正如我在你之前的帖子中建议,我怀疑你最好的办法是连接一些调用你的COM组件并调试它的测试工具exe。 我不知道有什么方法可以将调试器挂钩到HTTPD服务本身。 

As I suggested in your previous post, I suspect your best bet is to hook up some sort of test harness exe that invokes your COM component and debug that.  I don't know of any way to hook a debugger to the HTTPD service itself. 

我可能采取的一种方法是:从我的理解(我在这里相当模糊,所以不要把它当成福音)ASP本身只是一个ASAPI dll。 并且很容易将测试工具连接到ASAPI dll - 您只需在测试工具中加载ASP dll
并调用其中的两个函数。

One approach I might take is: From what I understand (and I am fairly fuzzy here, so don't take this as gospel) ASP is merely an ASAPI dll itself.  And it is pretty easy to hook up a test harness to an ASAPI dll -- you only have to load the ASP dll in your test harness and call two functions in it.

我听说过一种不同的方法,但却无法弄清楚自己: 您可以使用Platform Builder构建一个与HTTPD完全相同的exe。 这有用的原因是您可以调试加载COM
组件的exe。 在这种情况下,您可以在开发设备上关闭HTTPD,并将COM组件的调试可执行属性设置为HTTP服务器exe。  (如果你弄清楚了,我也会感兴趣)

A different approach that I have heard rumor of, but not been able to figure out myself:  You can use Platform Builder to build an exe that does the same thing as HTTPD.  The reason this is helpful is that you can debug an exe that loads your COM component.  In this case you would turn HTTPD off on your development device and set the debug executable property of your COM compenent to the HTTP server exe.  (If you figure this out, I would be interested as well)


这篇关于调试ASP页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆