Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inspector: console.dir(object) prints "undefined" #930

Closed
Natalia-Hristova opened this issue May 30, 2018 · 1 comment
Closed

Inspector: console.dir(object) prints "undefined" #930

Natalia-Hristova opened this issue May 30, 2018 · 1 comment
Assignees
Milestone

Comments

@Natalia-Hristova
Copy link
Contributor

Make sure to check the existing issues in this repository

If there is no issue for your problem, tell us about it

console.dir(object) prints "undefined" in Inspctor's console tab

NOTE: Works in Chrome DevTools with the scpecified version below and works in Inspector with tns-ios:4.0.1

Please, provide the following version numbers that your issue occurs with:

  • CLI: rc: '4.1.0-2018-05-30-11720'
  • Runtime(s): iOS rc: '4.1.0-rc-2018-05-26-01

Please, tell us how to recreate the issue in as much detail as possible.

  1. tns create TestApp
  2. Add
var obj = {name: “John”, age: 34};
           console.dir(obj);
  1. tns debug ios --isnpector
  2. Look at Inspector's console tab

Is there any code involved?

  • provide a code example to recreate the problem
  • (EVEN BETTER) provide a .zip with application or refer to a repository with application where the problem is reproducible.
@Natalia-Hristova
Copy link
Contributor Author

This is fixed and will be available in the next official release of tns-ios.
console.dir(object) now prints object's properties in Inspector, Chrome DevTools (device and simulator).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants