|
Environment variable для процесса
|
|||
---|---|---|---|
#18+
Mac OS X^ Здесь написано такое: http://www.numbergrinder.com/2009/01/checking-malloc-history/ авторSometimes it is useful to see what malloc operations have been performed by a given application. Doing this is a fairly straightforward process that can be facilitated with the command malloc_history, but requires a little bit of setup for iPhone-specific apps since the console cannot be used directly. Go under the Executables directory of your project in XCode. “Get Info” on your application. Click on the “Arguments” tab Under Environment variables set MallocStackLogging and NSZombieEnabled to YES . The former allows for malloc_history to be used, the latter logs deallocated memory, which can help find the memory address. Run the app using the debugger (Command-Option-Y) Check the console or probe around with the debugger to find the memory address you want to check. Как установить переменные для процесса руками? Этот процесс запускается из другого главного приложения. ... |
|||
:
Нравится:
Не нравится:
|
|||
09.07.2018, 12:43 |
|
Environment variable для процесса
|
|||
---|---|---|---|
#18+
Перед запуском главного приложения устанавливаешь эти переменные, порождаемые процессы будут наследовать эти установки ... |
|||
:
Нравится:
Не нравится:
|
|||
09.07.2018, 13:03 |
|
Environment variable для процесса
|
|||
---|---|---|---|
#18+
landyПеред запуском главного приложения устанавливаешь эти переменные, порождаемые процессы будут наследовать эти установки Я сделал второй вариант 1. запускаю его double-click-ом в гуи. Где там установить переменную? 2. сделал скрипт для запуска приложения, в нем делаю export и затем запуск ... |
|||
:
Нравится:
Не нравится:
|
|||
09.07.2018, 13:49 |
|
|
start [/forum/topic.php?fid=25&fpage=11&tid=1481300]: |
0ms |
get settings: |
9ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
55ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
43ms |
get tp. blocked users: |
2ms |
others: | 273ms |
total: | 419ms |
0 / 0 |