[INTERPRETER]
* BUG: Debugger: Displaying a dynamic variable in a static context does not crash anymore. git-svn-id: svn://localhost/gambas/trunk@7258 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
ea1fa9704e
commit
9c04684084
1 changed files with 3 additions and 1 deletions
|
@ -199,8 +199,10 @@ bool DEBUG_get_value(const char *sym, int len, GB_VARIANT *ret)
|
|||
|
||||
if (CTYPE_get_kind(gp->ctype) == TK_VARIABLE)
|
||||
{
|
||||
if (!CTYPE_is_static(gp->ctype) && DEBUG_info->op)
|
||||
if (!CTYPE_is_static(gp->ctype))
|
||||
{
|
||||
if (!DEBUG_info->op)
|
||||
continue;
|
||||
var = &DEBUG_info->cp->load->dyn[gp->value];
|
||||
addr = (char *)DEBUG_info->op + var->pos;
|
||||
ref = DEBUG_info->op;
|
||||
|
|
Loading…
Reference in a new issue