tiagolr / dconsole

Haxe game-like console that provides runtime acess to methods, variables and more.
MIT License
169 stars 16 forks source link

Support nested fields for the monitoring. #51

Open T1mL3arn opened 9 years ago

T1mL3arn commented 9 years ago

In some cases are need to use that construction

DC.monitorField(object, 'field.nestedField', 'someProp');

because 'field' for some reasons can be null:

object.field = null;
// ...
DC.monitorField(object.field, 'nestedField', 'someProp');    // log error
tiagolr commented 9 years ago

Thanks, its a nice feature, guess I'll have to include tests to make sure this works (multi targets , or in future versions etc..), will merge it soon :+1: :