Skip to content

Xcode 9 , command : visualize error #201

@HolmesZhao

Description

@HolmesZhao

look at

error: error: cannot take the address of an rvalue of type 'CGFloat' (aka 'double')
Traceback (most recent call last):
  File "/usr/local/opt/chisel/libexec/fblldb.py", line 83, in runCommand
    command.run(args, options)
  File "/usr/local/Cellar/chisel/1.5.0/libexec/commands/FBVisualizationCommands.py", line 183, in run
    _visualize(arguments[0])
  File "/usr/local/Cellar/chisel/1.5.0/libexec/commands/FBVisualizationCommands.py", line 157, in _visualize
    _showLayer('[(id)' + target + ' layer]')
  File "/usr/local/Cellar/chisel/1.5.0/libexec/commands/FBVisualizationCommands.py", line 105, in _showLayer
    width = float(fb.evaluateExpression(size + '.width'))
TypeError: float() argument must be a string or a number

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions