facebook / chisel

Chisel is a collection of LLDB commands to assist debugging iOS apps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pvc stopped working in latest release

delebedev opened this issue · comments

swift4, Xcode9.1:

pvc
error: error: use of undeclared identifier 'id'
error: expected expression
None

According to the https://github.com/facebook/chisel/wiki#pvc it expects a parameter and works if it's given one... I used it before without any to print all controllers though.

Also having the issue with Obj-C projects

@garnett thanks for the report. An argument isn't required. I'll investigate.

I have a fix in #210. If you're not using the XCTest helper commands, then you could easily test it by editing fblldbbase.py. In there, find evaluateExpressionValue and swap the order of printErrors and language, as shown in this diff. I plan to push out a 1.6.1 fix release tonight.