Deprecated: Assigning the return value of new by reference is deprecated in /var/www/omflash.dk/public_html/wp-includes/cache.php on line 33

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/omflash.dk/public_html/wp-content/plugins/sem-subscribe-me2/sem-subscribe-me.php on line 511

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method UltimateTagWarriorActions::ultimate_query_vars() should not be called statically in /var/www/omflash.dk/public_html/wp-includes/functions.php on line 1252

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method UltimateTagWarriorActions::ultimate_posts_where() should not be called statically in /var/www/omflash.dk/public_html/wp-includes/functions.php on line 1252

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method UltimateTagWarriorActions::ultimate_posts_join() should not be called statically in /var/www/omflash.dk/public_html/wp-includes/functions.php on line 1252

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method UltimateTagWarriorActions::ultimate_tag_templates() should not be called statically in /var/www/omflash.dk/public_html/wp-includes/functions.php on line 1329
Nemmere debugging: Runtime errors med linienummer - omFlash();
Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method UltimateTagWarriorActions::ultimate_add_ajax_javascript() should not be called statically in /var/www/omflash.dk/public_html/wp-includes/functions.php on line 1329

Nemmere debugging: Runtime errors med linienummer


Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/omflash.dk/public_html/wp-includes/functions-formatting.php on line 83

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method UltimateTagWarriorActions::ultimate_the_content_filter() should not be called statically in /var/www/omflash.dk/public_html/wp-includes/functions.php on line 1252

Strict Standards: Non-static method UltimateTagWarriorActions::regExEscape() should not be called statically in /var/www/omflash.dk/public_html/wp-content/plugins/UltimateTagWarrior/ultimate-tag-warrior-actions.php on line 638

Strict Standards: Non-static method UltimateTagWarriorActions::regExEscape() should not be called statically in /var/www/omflash.dk/public_html/wp-content/plugins/UltimateTagWarrior/ultimate-tag-warrior-actions.php on line 638

Strict Standards: Non-static method UltimateTagWarriorActions::regExEscape() should not be called statically in /var/www/omflash.dk/public_html/wp-content/plugins/UltimateTagWarrior/ultimate-tag-warrior-actions.php on line 639

Strict Standards: Non-static method UltimateTagWarriorActions::regExEscape() should not be called statically in /var/www/omflash.dk/public_html/wp-content/plugins/UltimateTagWarrior/ultimate-tag-warrior-actions.php on line 639

Strict Standards: Non-static method UltimateTagWarriorActions::replaceTagWithLink() should not be called statically in /var/www/omflash.dk/public_html/wp-content/plugins/UltimateTagWarrior/ultimate-tag-warrior-actions.php on line 643

Er der noget mere irriterende end at få en runtime i ActionScript 3, som bare lister at der gik noget galt i en funktion?
Eksempelvis at en unavngiven variabel ikke var defineret?

Hvis man har en stor funktion og fejlen ikke lige springer en i øjnene med det samme, så er det nemlig rent et spørgsmål om trial-and-error for at få fundet stedet hvor det går galt.
Eller, det vil sige, det er det faktisk ikke!

Man kan lige i “Publish settings” sætte et flueben i “Permit debugging”, hvilket gør at man får den fejlbesked man hele tiden har fået PLUS det præcise linienummer hvor fejlen er opstået.
Så bliver det ikke meget nemmere!

Permit debugging

Skal ikke kunne sige om det er almen viden for alle andre, men jeg havde i hvert fald ikke lige luret det.

Fundet via denne blog.



Del:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • digg

6 kommentarer

  1. Dennis siger: (30. april 2008 kl. 23:31 )

    Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/omflash.dk/public_html/wp-includes/functions-formatting.php on line 83

    Hey
    Super tip - det var heller ikke almen viden for mig.

    Mange tak
    /Dennis

  2. Jakob Halskov siger: (7. juni 2008 kl. 21:39 )

    Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/omflash.dk/public_html/wp-includes/functions-formatting.php on line 83

    Hej Super, lige hvad jeg mangler!

  3. Fedlarm siger: (8. juni 2008 kl. 10:11 )

    Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/omflash.dk/public_html/wp-includes/functions-formatting.php on line 83

    underlidt det ikke er sat som standard..

  4. Mads Buch Stage siger: (8. juni 2008 kl. 12:29 )

    Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/omflash.dk/public_html/wp-includes/functions-formatting.php on line 83

    Filstørrelsen bliver en smule større når det er slået til, så det er nok den primære årsag, men derudover mener jeg også at det må give en øget sikkerhedsrisiko.

    Man kan i øvrigt læse lidt mere om debugging mulighederne i CS3 her:
    http://www.adobe.com/devnet/flash/articles/as3_debugger.html

  5. Ticketpoint siger: (10. september 2008 kl. 12:22 )

    Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/omflash.dk/public_html/wp-includes/functions-formatting.php on line 83

    Yo, thank you, man! Hard to understand, couse I don´t know your language but pictures do say everything. Thanks it really helped me.

  6. Mads Buch Stage siger: (10. september 2008 kl. 13:27 )

    Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /var/www/omflash.dk/public_html/wp-includes/functions-formatting.php on line 83

    Glad it helped :-)

    /Mads

Skriv en kommentar