A complete gdb to lldb command map.
- Print object
(lldb) po responseObject
(lldb) po [responseObject objectForKey@"state"]
- p - Print primitive type
| //Import Javascript core | |
| import JavaScriptCore | |
| //[...] | |
| //Get the JS Context | |
| let context = JSContext()! | |
| //write your function in javascript and feed it to context | |
| context.evaluateScript(#""" |
| // | |
| // filter.swift | |
| // fltr | |
| // | |
| // Created by Avinash on 18/06/19. | |
| // Copyright © 2019 eightyfive. All rights reserved. | |
| // | |
| import Metal | |
| import MetalKit |
| #include "ofMain.h" | |
| class ofApp : public ofBaseApp { | |
| public: | |
| string str = ""; | |
| void setup() { | |
| ofBackground(0); | |
| ofSetFrameRate(60); | |
| ofSetVerticalSync(true); |
| #include "ofMain.h" | |
| class ofApp : public ofBaseApp { | |
| public: | |
| ofImage earth; | |
| ofQuaternion qTo; | |
| float angle; | |
| ofVec3f axis; | |
| ofPoint green; |
A complete gdb to lldb command map.
(lldb) po responseObject
(lldb) po [responseObject objectForKey@"state"]
| open -n ./emptyExampleDebug.app/ --args 1 2 3 4 |
| Copyright (C) 2012 Yoshimasa Niwa | |
| Permission is hereby granted, free of charge, to any person obtaining | |
| a copy of this software and associated documentation files (the | |
| "Software"), to deal in the Software without restriction, including | |
| without limitation the rights to use, copy, modify, merge, publish, | |
| distribute, sublicense, and/or sell copies of the Software, and to | |
| permit persons to whom the Software is furnished to do so, subject to | |
| the following conditions: |