调试ASP页面 [英] Debug ASP pages
问题描述
我们正在开发
We are developing 我们如何调试在 How can we debug the ASP pages running in 正如我在你之前的帖子中建议,我怀疑你最好的办法是连接一些调用你的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 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屋!
ASP
Windows CE
页面;设备。我们需要调试ASP页面以减少开发工作量。 ASP页面使用COM组件从
设备获取数据。在Windows CE设备上运行的Web服务器是Httpd。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 $ c中运行的ASP页面$ c> 设备?
Windows CE
device?推荐答案
并调用其中的两个函数。
组件的exe。 在这种情况下,您可以在开发设备上关闭HTTPD,并将COM组件的调试可执行属性设置为HTTP服务器exe。 (如果你弄清楚了,我也会感兴趣)