How does JavaScript intelllisense handle exceptions?

Answered How does JavaScript intelllisense handle exceptions?

  • segunda-feira, 30 de julho de 2012 22:10
     
      Contém Código

    I have a strange behavior:

                    try{
                        intellisense.logMessage("BEGIN TRY");
                        //var test = 1 / 0;
                        throw new WinJS.ErrorFromName("ArgumentOutOfRange", "invalid...");
                        intellisense.logMessage("END TRY");
                    } catch (ex) {
                        intellisense.logMessage("CATCH");
                    }

    With this, I have the (unexpected) result of :


    06:05:28.9700: BEGIN TRY

    06:05:28.9700: END TRY

    So, are all exceptions simply ignored? Does there is a maximum of exceptions? Or is there any other limitations, like the file numbers? I'm currently investigating on why IntelliSense is unstable with my custom extensions, and I would help to have more détails.

    Thanks.


    • Editado Instriker segunda-feira, 30 de julho de 2012 22:13
    •  

Todas as Respostas