views:

180

answers:

2

I have looked at their help page it seems like I can register a debug logger that outputs information to the 'standard ASP.NET debug window'. My problem is I don't know what that means, if it means the debug output window in Visual Studio (where you see build output, debug output and more) I am not seeing any UrlRewriter debug output.

The rules are working (mostly) I just want to get more debug output to fix issues.

I added the register call to the rewriter section like this:

<rewriter>
    <register logger="Intelligencia.UrlRewriter.Logging.DebugLogger, Intelligencia.UrlRewriter" />
    ....
</rewriter>

I am hosting this website locally in IIS on Vista, to debug it I attach the debugger to the w3wp process.

Other selected parts from the web.config"

<compilation debug="true">
    <assemblies>
        ...
    </assemblies>
</compilation>
<trace enabled="true"/>

Where should I see the debug output from UrlRewriter.NET? If it is in the Visual Studio debug output window, any ideas why I am not seeing it there?

+1  A: 

Try to run the DebugView for read the messages from Intelligencia.UrlRewriter

Get it from here http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx

I see the source code, and I belive thats works, but if not works, then why not get the source code, and compile it with your project and just debug it on site ?

Aristos
I solved the problem already, but this looks like an excellent tool.
vfilby
yes it is !, try to use Debug.write()... on your code ! to see many thinks on runtime.
Aristos
A: 

I wanted to debug because I had the impression my rewrite rules weren't functioning.

After a while I figured out I had to alter my web.config and add the following line to the 'system.web', 'httpModules' section:

 <add name="UrlRewriter" type="Intelligencia.UrlRewriter.RewriterHttpModule, Intelligencia.UrlRewriter"/>
mathijsuitmegen