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

Does not recognize nor stops on breakpoints #25

Open
sed76 opened this issue Feb 20, 2015 · 7 comments
Open

Does not recognize nor stops on breakpoints #25

sed76 opened this issue Feb 20, 2015 · 7 comments

Comments

@sed76
Copy link

sed76 commented Feb 20, 2015

$ ti-inspector
express deprecated app.configure: Check app.get('env') in an if statement ../../../../usr/local/lib/node_modules/ti-inspector/lib/devtools_server.js:25:9
connect deprecated multipart: use parser (multiparty, busboy, formidable) npm module instead ../../../../usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:56:20
connect deprecated limit: Restrict request size at location of read ../../../../usr/local/lib/node_modules/ti-inspector/node_modules/express/node_modules/connect/lib/middleware/multipart.js:86:15
connect deprecated methodOverride: use method-override npm module instead ../../../../usr/local/lib/node_modules/ti-inspector/lib/devtools_server.js:33:23
express deprecated app.configure: Check app.get('env') in an if statement ../../../../usr/local/lib/node_modules/ti-inspector/lib/devtools_server.js:38:9
info: Debug server listening on port: 8999
info: Devtools server listening on port: 8080
info: Debugger connected with session id: 6f47bb1d-49ad-4803-8a68-cbb3a96a5045
info: WebSocket connection accepted from resource: /
info: App socket disconnected.
info: WebSocket connection accepted from resource: /
info: WebSocket connection accepted from resource: /devtools/page/6f47bb1d-49ad-4803-8a68-cbb3a96a5045
error: An exception occurred while processing a message
error: Message: {"type":"utf8","utf8Data":"{"method":"Debugger.setBreakpointByUrl","params":{"lineNumber":42,"url":"http://Rusfond/iphone/alloy/widgets/org.rusfond.sidemenu-ios/controllers/tableview.js\",\"columnNumber\":0},\"id\":17}"}
error: Exception: expected condition to be a string value
error: Backtrace:
error: Error: expected condition to be a string value
error: at mapValueToIndex (/usr/local/lib/node_modules/ti-inspector/lib/tidebugger/protocol.js:119:13)
error: at Object. (/usr/local/lib/node_modules/ti-inspector/lib/tidebugger/protocol.js:134:5)
error: at Function..each..forEach (/usr/local/lib/node_modules/ti-inspector/node_modules/underscore/underscore.js:86:24)
error: at Object.exports.Protocol.mapArgsToArray (/usr/local/lib/node_modules/ti-inspector/lib/tidebugger/protocol.js:101:5)
error: at Object.exports.Protocol.dehidrateCommand (/usr/local/lib/node_modules/ti-inspector/lib/tidebugger/protocol.js:219:15)
error: at DebuggerBackend.packAndSendCommand (/usr/local/lib/node_modules/ti-inspector/lib/tidebugger/backend.js:49:29)
error: at _.extend.sendRequest (/usr/local/lib/node_modules/ti-inspector/lib/tidebugger/session.js:64:16)
error: at DebuggerBackend.sendCommand (/usr/local/lib/node_modules/ti-inspector/lib/tidebugger/backend.js:37:15)
error: at Debugger.dispatchCommand (/usr/local/lib/node_modules/ti-inspector/lib/tidebugger/debugger.js:69:18)
error: at Debugger.createBreakpoint (/usr/local/lib/node_modules/ti-inspector/lib/tidebugger/debugger.js:319:10)
Unexpected error: undefined

my ti info is:

Operating System
Name = Mac OS X
Version = 10.10.1
Architecture = 64bit

CPUs = 4

Memory = 8.0GB

Node.js
Node.js Version = 0.10.13
npm Version = 1.3.2

Titanium CLI
CLI Version = 3.4.1
node-appc Version = 0.2.14

current titanium sdk set to 3.5.0.GA
jdk Version = 1.7.0_60

@lgonsoulin
Copy link

Same here breakpoints aren't hitting SDK 3.5.0.GA

@omorandi
Copy link
Owner

Ti SDK 3.5.0 introduced a major upgrade to the JSCore engine and by consequence to the ios debugger agent (implemented in libti_ios_debugger.a).
I'm currently looking into this and other issues, hoping I'll be able to release a new version of ti-inspector soon

@omorandi
Copy link
Owner

omorandi commented Mar 9, 2015

probably related to https://jira.appcelerator.org/browse/TIMOB-18616

@mdsb100
Copy link

mdsb100 commented Mar 10, 2015

加油

@yuchi
Copy link

yuchi commented Mar 10, 2015

Automatic translation:

Refuel

@sed76
Copy link
Author

sed76 commented Apr 7, 2015

any news on this topic?

@omorandi
Copy link
Owner

omorandi commented Apr 8, 2015

No news, unfortunately. I'd suggest anyone interested to watch this titanium issue: https://jira.appcelerator.org/browse/TIMOB-18616

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

No branches or pull requests

5 participants