Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Paul Marden 233 posts 335 karma points c-trib
    Apr 22, 2009 @ 15:01
    Paul Marden
    0

    Finding Stack Trace

    I know I should know better. But I can't find the stack trace that is being produced for a new user control I've created. It's going a bit wrong and outputting

    Error creating control (/usercontrols/XMLMetar.ascx).
    Maybe file doesn't exists or the usercontrol has a cache directive, which is not allowed! See the tracestack for more information!

    But I'll be jiggered if I can find the trace in question.

    P

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Apr 22, 2009 @ 15:14
    Dirk De Grave
    2

    Hi,

    Is it ?umbdebugshowtrace=true you're after?

    /Dirk

  • Paul Marden 233 posts 335 karma points c-trib
    Apr 22, 2009 @ 15:21
    Paul Marden
    0

    Bloody marvellous. Worked a treat.

    Cheers Dirk.

  • dandrayne 1138 posts 2262 karma points
    Apr 22, 2009 @ 16:30
    dandrayne
    0

    You can add these as bookmarklets, v handy

    Umb Debug
    [code]
    javascript:debugStr%20=%20'umbDebugShowTrace=true';%20url%20=%20window.location;%20if%20(window.location.search.length%20==%200)%20{%20url%20+=%20'?'%20+%20debugStr;%20}%20else%20if%20(window.location.search.indexOf(debugStr)%20==%20-1)%20{%20url%20+=%20'&'%20+%20debugStr;%20}%20window.location%20=%20url;
    [/code]

    Remove debug
    [code]
    javascript:url%20=%20window.location;%20if%20(window.location.search%20==%20'?umbDebugShowTrace=true')%20{%20url%20=%20window.location.href.replace(/\?umbDebugShowTrace=true/,'');%20}%20else%20if%20(window.location.search%20==%20'?umbDebug=true')%20{%20url%20=%20window.location.href.replace(/\?umbDebug=true/,'');%20}%20else%20{%20url%20=%20window.location.href.replace(/\umbDebugShowTrace=true/,'varTmp=varTmp').replace(/\umbDebug=true/,'varTmp=varTmp');%20}%20window.location%20=%20url;
    [/code]

    Edit: Sorry for breaking the forum! ;^)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies