-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support default class constructors in the debugger
These functions have no source code and should be ignored by the debugger Signed-off-by: Zoltan Herczeg [email protected]
- Loading branch information
1 parent
81bae46
commit ed55d51
Showing
10 changed files
with
178 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
s | ||
bt | ||
s | ||
s | ||
s | ||
s | ||
bt | ||
s | ||
s | ||
s | ||
s | ||
s | ||
bt | ||
s | ||
s | ||
s | ||
s | ||
bt | ||
s | ||
s | ||
s | ||
s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
Connecting to: localhost:6501 | ||
Connection created!!! | ||
Stopped at tools/debugger/tests/do_step_class2.js:20 | ||
(escargot-debugger) s | ||
Stopped at tools/debugger/tests/do_step_class2.js:32 (in function() at line:33, col:7) | ||
(escargot-debugger) bt | ||
tools/debugger/tests/do_step_class2.js:33:6 [depth:0] | ||
tools/debugger/tests/do_step_class2.js:22:14 [depth:1] | ||
(escargot-debugger) s | ||
Stopped at tools/debugger/tests/do_step_class2.js:36 (in function() at line:38, col:7) | ||
(escargot-debugger) s | ||
Stopped at tools/debugger/tests/do_step_class2.js:39 (in function() at line:39, col:23) | ||
(escargot-debugger) s | ||
Stopped at tools/debugger/tests/do_step_class2.js:39 (in function() at line:39, col:46) | ||
(escargot-debugger) s | ||
Stopped at tools/debugger/tests/do_step_class2.js:50 (in function() at line:51, col:7) | ||
(escargot-debugger) bt | ||
tools/debugger/tests/do_step_class2.js:51:6 [depth:0] | ||
tools/debugger/tests/do_step_class2.js:42:29 [depth:1] | ||
(escargot-debugger) s | ||
Stopped at tools/debugger/tests/do_step_class2.js:54 (in function() at line:55, col:7) | ||
(escargot-debugger) s | ||
Stopped at tools/debugger/tests/do_step_class2.js:56 (in function() at line:56, col:24) | ||
(escargot-debugger) s | ||
Stopped at tools/debugger/tests/do_step_class2.js:56 (in function() at line:56, col:48) | ||
(escargot-debugger) s | ||
Stopped at tools/debugger/tests/do_step_class2.js:59 | ||
(escargot-debugger) s | ||
Stopped at tools/debugger/tests/do_step_class2.js:23 (in function() at line:24, col:7) | ||
(escargot-debugger) bt | ||
tools/debugger/tests/do_step_class2.js:24:6 [depth:0] | ||
unknown dynamic function:3:7 [depth:2] | ||
tools/debugger/tests/do_step_class2.js:59:9 [depth:3] | ||
(escargot-debugger) s | ||
Stopped at tools/debugger/tests/do_step_class2.js:26 (in function() at line:28, col:7) | ||
(escargot-debugger) s | ||
Stopped at tools/debugger/tests/do_step_class2.js:29 (in function() at line:29, col:15) | ||
(escargot-debugger) s | ||
Stopped at tools/debugger/tests/do_step_class2.js:29 (in function() at line:29, col:30) | ||
(escargot-debugger) s | ||
Stopped at tools/debugger/tests/do_step_class2.js:43 (in function() at line:44, col:7) | ||
(escargot-debugger) bt | ||
tools/debugger/tests/do_step_class2.js:44:6 [depth:0] | ||
unknown dynamic function:3:7 [depth:1] | ||
tools/debugger/tests/do_step_class2.js:59:9 [depth:2] | ||
(escargot-debugger) s | ||
Stopped at tools/debugger/tests/do_step_class2.js:46 (in function() at line:46, col:16) | ||
(escargot-debugger) s | ||
Stopped at tools/debugger/tests/do_step_class2.js:47 (in function() at line:47, col:16) | ||
(escargot-debugger) s | ||
Stopped at tools/debugger/tests/do_step_class2.js:47 (in function() at line:47, col:31) | ||
(escargot-debugger) s | ||
Connection closed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* | ||
* Copyright (c) 2021-present Samsung Electronics Co., Ltd | ||
* | ||
* This library is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU Lesser General Public | ||
* License as published by the Free Software Foundation; either | ||
* version 2.1 of the License, or (at your option) any later version. | ||
* | ||
* This library is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
* Lesser General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Lesser General Public | ||
* License along with this library; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 | ||
* USA | ||
*/ | ||
|
||
var o = null | ||
|
||
class Class1 { | ||
c1_field1 | ||
= 1 | ||
c1_field2 | ||
[ | ||
"c1_field3" | ||
] = 2 | ||
c1_field4 = 3; c1_field5 = 4 | ||
|
||
static | ||
c1_sfield1 | ||
= 1 | ||
static c1_sfield2 | ||
static | ||
[ | ||
"c1_sfield3" | ||
] = 2 | ||
static c1_sfield4 = 3; static c1_sfield5 = 4 | ||
} | ||
|
||
class Class2 extends Class1 { | ||
#c2_field1 | ||
= 1 | ||
#c2_field2 | ||
#c2_field3 = 2 | ||
#c2_field4 = 3; c2_field5 = 4 | ||
|
||
static | ||
#c2_sfield1 | ||
= 1 | ||
static #c2_sfield2 | ||
static | ||
#c2_sfield3 | ||
= 2 | ||
static #c2_sfield4 = 3; static #c1_sfield5 = 4 | ||
} | ||
|
||
o = new Class2 |