• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "It always works when I switch debugging on"

Collapse

  • doodab
    replied
    Originally posted by eek View Post
    I know there are a list of issues on the website I need to fix that is one of many ( other stuff is consuming some time at the moment).

    We do process stacktraces from java but it requires a bit of configuration. If your 500 error page can provide a stacktrace I can provide the code to collect the data.
    The code doesn't throw an error. The error is that the code that is supposed to run gets skipped unless the logging level is set to debug. So you'd need to do some sort of static analysis.

    Leave a comment:


  • eek
    replied
    Originally posted by doodab View Post
    Awesome. Except I need a Java one

    BTW, on your plan C page, if I click "blog" then click "about" it's broken (http://erro.rs/about/) and the "follow us" bit appears to say "follow us f ing" at first glance....
    I know there are a list of issues on the website I need to fix that is one of many ( other stuff is consuming some time at the moment).

    We do process stacktraces from java but it requires a bit of configuration. If your 500 error page can provide a stacktrace I can provide the code to collect the data.

    Leave a comment:


  • doodab
    replied
    Originally posted by eek View Post
    JavaScript error management

    I think there's a plan b in that.

    Oops I meant plan c and its in the footer below
    Awesome. Except I need a Java one

    BTW, on your plan C page, if I click "blog" then click "about" it's broken (http://erro.rs/about/) and the "follow us" bit appears to say "follow us f ing" at first glance....

    Leave a comment:


  • eek
    replied
    JavaScript error management

    I think there's a plan b in that.

    Oops I meant plan c and its in the footer below

    Leave a comment:


  • suityou01
    replied
    Originally posted by Spacecadet View Post
    Was the previous developer from Luton?
    Fail.

    Leave a comment:


  • VectraMan
    replied
    I tried something earlier in IE9, and was horrified to see it suddenly had stopped working. Fired up the script debugger; worked fine.

    Fortunately I know this one. I'd left a console.log in my javascript, and in IE9 rather than just ignore it if it's got nowhere to log to, it throws a script exception and kills everything. With the debugger on, console.log has somewhere to go and so the code works.

    They have fixed it in IE10 at least.

    Ah programming. What a laugh.

    Leave a comment:


  • Spacecadet
    replied
    Originally posted by doodab View Post
    Code:
    if (log.isDebugEnabled()) {
        log.debug("process() called");
        try {
            String text = message.getBody();
            ....
    Really?
    Was the previous developer from Luton?

    Leave a comment:


  • doodab
    started a topic It always works when I switch debugging on

    It always works when I switch debugging on

    Code:
    if (log.isDebugEnabled()) {
        log.debug("process() called");
        try {
            String text = message.getBody();
            ....
    Really?

Working...
X