Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
41e2dea4
Commit
41e2dea4
authored
Apr 10, 2014
by
Paul Sokolovsky
Browse files
objfun: More debug logging when calling a bytecode function.
parent
e9db8404
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/objfun.c
View file @
41e2dea4
...
...
@@ -211,9 +211,13 @@ arg_error:
}
STATIC
mp_obj_t
fun_bc_call
(
mp_obj_t
self_in
,
uint
n_args
,
uint
n_kw
,
const
mp_obj_t
*
args
)
{
DEBUG_printf
(
"Input: "
);
DEBUG_printf
(
"Input n_args: %d, n_kw: %d
\n
"
,
n_args
,
n_kw
);
DEBUG_printf
(
"Input pos args: "
);
dump_args
(
args
,
n_args
);
DEBUG_printf
(
"Input kw args: "
);
dump_args
(
args
+
n_args
,
n_kw
*
2
);
mp_obj_fun_bc_t
*
self
=
self_in
;
DEBUG_printf
(
"Func n_def_args: %d
\n
"
,
self
->
n_def_args
);
const
mp_obj_t
*
kwargs
=
args
+
n_args
;
mp_obj_t
*
extra_args
=
self
->
extra_args
+
self
->
n_def_args
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment