mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
fix dusty debugging macros
This commit is contained in:
parent
07432c0ef6
commit
6f9e433ab3
6 changed files with 11 additions and 11 deletions
|
@ -288,7 +288,7 @@ eval_code(co, globals, locals, owner, arg)
|
|||
#ifdef LLTRACE
|
||||
int lltrace;
|
||||
#endif
|
||||
#ifdef DEBUG
|
||||
#if defined( DEBUG ) || defined( LLTRACE )
|
||||
/* Make it easier to find out where we are with dbx */
|
||||
char *filename = getstringvalue(co->co_filename);
|
||||
#endif
|
||||
|
|
|
@ -155,7 +155,7 @@ run_tty_loop(fp, filename)
|
|||
for (;;) {
|
||||
ret = run_tty_1(fp, filename);
|
||||
#ifdef REF_DEBUG
|
||||
fprintf(stderr, "[%ld refs]\n", ref_total);
|
||||
fprintf(stderr, "[%ld refs]\n", _Py_RefTotal);
|
||||
#endif
|
||||
if (ret == E_EOF)
|
||||
return 0;
|
||||
|
@ -664,7 +664,7 @@ goaway(sts)
|
|||
err_clear();
|
||||
|
||||
#ifdef REF_DEBUG
|
||||
fprintf(stderr, "[%ld refs]\n", ref_total);
|
||||
fprintf(stderr, "[%ld refs]\n", _Py_RefTotal);
|
||||
#endif
|
||||
|
||||
#ifdef TRACE_REFS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue