<commit_before>USING: alien.syntax debugger kernel continuations tools.test ;
IN: debugger.tests

[ ] [ [ drop ] [ error. ] recover ] unit-test

[ f ] [ { } vm-error? ] unit-test
[ f ] [ { "A" "B" } vm-error? ] unit-test

[ ] [
T{ test-failure
    { error
        {
            "kernel-error"
            10
            {
                B{
                    88 73 110 112 117 116 69 110 97 98 108 101 0
                }
                B{
                    88 73 110 112 117 116 69 110 97 98 108 101
                    64 56 0
                }
                B{
                    95 88 73 110 112 117 116 69 110 97 98 108
                    101 64 56 0
                }
                B{
                    64 88 73 110 112 117 116 69 110 97 98 108
                    101 64 56 0
                }
            }
            DLL" xinput1_3.dll"
        }
    }
    { asset { "Unit Test" [ ] [ dup ] } }
    { file "resource:basis/game/input/input-tests.factor" }
    { line# 6 }
    { continuation f }
} error.
] unit-test
<commit_msg>debugger: adding a test case that breaks the fix for #1187.<commit_after>USING: accessors alien.syntax arrays continuations debugger
kernel namespaces tools.test ;
IN: debugger.tests

[ ] [ [ drop ] [ error. ] recover ] unit-test

[ f ] [ { } vm-error? ] unit-test
[ f ] [ { "A" "B" } vm-error? ] unit-test

[ ] [
T{ test-failure
    { error
        {
            "kernel-error"
            10
            {
                B{
                    88 73 110 112 117 116 69 110 97 98 108 101 0
                }
                B{
                    88 73 110 112 117 116 69 110 97 98 108 101
                    64 56 0
                }
                B{
                    95 88 73 110 112 117 116 69 110 97 98 108
                    101 64 56 0
                }
                B{
                    64 88 73 110 112 117 116 69 110 97 98 108
                    101 64 56 0
                }
            }
            DLL" xinput1_3.dll"
        }
    }
    { asset { "Unit Test" [ ] [ dup ] } }
    { file "resource:basis/game/input/input-tests.factor" }
    { line# 6 }
    { continuation f }
} error.
] unit-test

[
    { "kernel-error" 3 0 "hi" }
    { 1 2 3 { "kernel-error" 3 0 "hi" } }
] [
    [ 1 2 3 "hi" f <array> ] [ ] recover error-continuation get data>>
] unit-test

{'fraction_non_alphanumeric': 0.09274525968672712, 'fraction_numerical': 0.12860676009892827, 'mean_word_length': 0.9541062801932367, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7642128', 'n_tokens_mistral': 1059, 'n_tokens_neox': 696, 'n_words': 241}