![]() |
Oolite 1.91.0.7665-250419-c535bfe
|
#include <OODebugMonitor.h>
Instance Methods | |
(BOOL) | - setDebugger: |
(void) | - appendJSConsoleLine:colorKey:emphasisRange: |
(void) | - appendJSConsoleLine:colorKey: |
(void) | - clearJSConsole |
(void) | - showJSConsole |
(id) | - configurationValueForKey:class:defaultValue: |
(long long) | - configurationIntValueForKey:defaultValue: |
(NSArray *) | - configurationKeys |
(BOOL) | - debuggerConnected |
(void) | - dumpMemoryStatistics |
(size_t) | - dumpJSMemoryStatistics |
(void) | - setTCPIgnoresDroppedPackets: |
(BOOL) | - TCPIgnoresDroppedPackets |
(void) | - setUsingPlugInController: |
(BOOL) | - usingPlugInController |
(id) | - init [implementation] |
(void) | - dealloc [implementation] |
(oneway void) | - performJSConsoleCommand: [implementation] |
(id) | - configurationValueForKey: [implementation] |
(void) | - setConfigurationValue:forKey: [implementation] |
(void) | - writeMemStat: [implementation] |
(void) | - dumpEntity:withState:parentVisible: [implementation] |
(NSString *) | - sourceCodeForFile:line: [implementation] |
(void) | - disconnectDebugger:message: [implementation] |
(void) | - applicationWillTerminate: [implementation] |
(void) | - setUpDebugConsoleScript [implementation] |
(void) | - javaScriptEngineWillReset: [implementation] |
(void) | - disconnectDebuggerWithMessage: [implementation] |
(NSDictionary *) | - mergedConfiguration [implementation] |
(NSMutableDictionary *) | - normalizeConfigDictionary: [implementation] |
(id) | - normalizeConfigValue:forKey: [implementation] |
(NSArray *) | - loadSourceFile: [implementation] |
(oneway void) | - jsEngine:context:error:stackSkip:showingLocation:withMessage: [implementation] |
(oneway void) | - jsEngine:context:logMessage:ofClass: [implementation] |
(jsval) | - oo_jsValueInContext: [implementation] |
(id) | - copyWithZone: [implementation] |
(id) | - retain [implementation] |
(NSUInteger) | - retainCount [implementation] |
(void) | - release [implementation] |
(id) | - autorelease [implementation] |
![]() | |
(id) | - weakSelf |
(id) | - weakRetain [implementation] |
(void) | - weakRefDied: [implementation] |
![]() | |
(id) | - OO_RETURNS_RETAINED |
Class Methods | |
(OODebugMonitor *) | + sharedDebugMonitor |
(static NSString *) | + SizeString [implementation] |
(id) | + allocWithZone: [implementation] |
Private Attributes | |
id< OODebuggerInterface > | _debugger |
OOJSScript * | _script |
struct JSObject * | _jsSelf |
NSDictionary * | _configFromOXPs |
NSMutableDictionary * | _configOverrides |
NSMutableDictionary * | _fgColors |
NSMutableDictionary * | _bgColors |
NSMutableDictionary * | _sourceFiles |
BOOL | _TCPIgnoresDroppedPackets |
BOOL | _usingPlugInController |
Additional Inherited Members | |
![]() | |
OOWeakReference * | weakSelf |
Definition at line 65 of file OODebugMonitor.h.
|
implementation |
Provided by category OODebugMonitor(Singleton).
Definition at line 1001 of file OODebugMonitor.m.
- (void) appendJSConsoleLine: | (id) | string | |
colorKey: | (NSString *) | colorKey |
Definition at line 233 of file OODebugMonitor.m.
References appendJSConsoleLine:colorKey:emphasisRange:.
Referenced by OODebugMonitor(Private)::jsEngine:context:logMessage:ofClass:, and writeMemStat:.
- (void) appendJSConsoleLine: | (id) | string | |
colorKey: | (NSString *) | colorKey | |
emphasisRange: | (NSRange) | emphasisRange |
Definition at line 212 of file OODebugMonitor.m.
References nil, OOJSPauseTimeLimiter(), OOJSResumeTimeLimiter(), and OOLog.
Referenced by appendJSConsoleLine:colorKey:, and OODebugMonitor(Private)::jsEngine:context:error:stackSkip:showingLocation:withMessage:.
|
implementation |
Definition at line 723 of file OODebugMonitor.m.
References _configOverrides, disconnectDebuggerWithMessage:, and nil.
|
implementation |
Provided by category OODebugMonitor(Singleton).
Definition at line 1034 of file OODebugMonitor.m.
- (void) clearJSConsole |
Definition at line 242 of file OODebugMonitor.m.
References clearJSConsole, OOJSPauseTimeLimiter(), OOJSResumeTimeLimiter(), and OOLog.
Referenced by clearJSConsole.
Definition at line 293 of file OODebugMonitor.m.
References configurationValueForKey:, long(), and nil.
- (NSArray *) configurationKeys |
Definition at line 342 of file OODebugMonitor.m.
References configurationKeys, and nil.
Referenced by configurationKeys.
|
implementation |
Reimplemented from <OODebugMonitorInterface>.
Definition at line 272 of file OODebugMonitor.m.
References configurationValueForKey:class:defaultValue:.
Referenced by configurationIntValueForKey:defaultValue:, and setConfigurationValue:forKey:.
- (id) configurationValueForKey: | (NSString *) | key | |
class: | (Class) | class | |
defaultValue: | (id) | value |
Definition at line 278 of file OODebugMonitor.m.
References nil.
Referenced by configurationValueForKey:.
|
implementation |
Provided by category OODebugMonitor(Singleton).
Definition at line 1012 of file OODebugMonitor.m.
|
implementation |
Reimplemented from OOWeakRefObject.
Definition at line 126 of file OODebugMonitor.m.
References _jsSelf, dealloc, OOWeakRefObject::dealloc, disconnectDebuggerWithMessage:, OOJavaScriptEngine::removeGCObjectRoot:, and OOJavaScriptEngine::sharedEngine.
Referenced by dealloc.
- (BOOL) debuggerConnected |
Definition at line 354 of file OODebugMonitor.m.
References _debugger, debuggerConnected, and nil.
Referenced by debuggerConnected, and OOJavaScriptConsoleController::validateMenuItem:.
|
implementation |
Reimplemented from <OODebugMonitorInterface>.
Definition at line 699 of file OODebugMonitor.m.
References _debugger, disconnectDebuggerWithMessage:, nil, and OOLog.
Referenced by OOMacDebugger::connectDebugMonitor:errorMessage:, OODebugTCPConsoleClient::dealloc, and OOMacDebugger::dealloc.
|
implementation |
Provided by category OODebugMonitor(Private).
Definition at line 781 of file OODebugMonitor.m.
Referenced by applicationWillTerminate:, dealloc, disconnectDebugger:message:, and setDebugger:.
|
implementation |
Definition at line 423 of file OODebugMonitor.m.
References count, dumpEntity:withState:parentVisible:, nil, OOLogIndent(), OOLogOutdent(), PlanetEntity, EntityDumpState::seenCount, EntityDumpState::seenEntities, EntityDumpState::totalDrawableSize, EntityDumpState::totalEntityObjSize, OODrawable::totalSize, and writeMemStat:.
Referenced by dumpEntity:withState:parentVisible:, and dumpMemoryStatistics.
- (size_t) dumpJSMemoryStatistics |
Definition at line 633 of file OODebugMonitor.m.
References dumpJSMemoryStatistics, OOJSAcquireContext(), OOJSRelinquishContext(), and writeMemStat:.
Referenced by ConsoleWriteJSMemoryStats(), dumpJSMemoryStatistics, and dumpMemoryStatistics.
- (void) dumpMemoryStatistics |
Definition at line 509 of file OODebugMonitor.m.
References OOTexture::allTextures, OOTexture::cachedTexturesByAge, OOTexture::dataSize, dumpEntity:withState:parentVisible:, dumpJSMemoryStatistics, dumpMemoryStatistics, EntityDumpState::entityTextures, nil, OOLog, OOLogIndent(), OOLogOutdent(), PLAYER, EntityDumpState::totalDrawableSize, EntityDumpState::totalEntityObjSize, EntityDumpState::visibleEntityTextures, and writeMemStat:.
Referenced by ConsoleWriteMemoryStats(), and dumpMemoryStatistics.
|
implementation |
Definition at line 79 of file OODebugMonitor.m.
References _configFromOXPs, _configOverrides, _TCPIgnoresDroppedPackets, ResourceManager::dictionaryFromFilesNamed:inFolder:andMerge:, init, nil, normalizeConfigDictionary:, OOJavaScriptEngine::setMonitor:, setUpDebugConsoleScript, and OOJavaScriptEngine::sharedEngine.
Referenced by init.
|
implementation |
Provided by category OODebugMonitor(Private).
Definition at line 772 of file OODebugMonitor.m.
|
implementation |
Provided by category OODebugMonitor(Private).
Definition at line 871 of file OODebugMonitor.m.
|
implementation |
Provided by category OODebugMonitor(Private).
Definition at line 958 of file OODebugMonitor.m.
|
implementation |
Provided by category OODebugMonitor(Private).
Definition at line 810 of file OODebugMonitor.m.
Referenced by sourceCodeForFile:line:.
|
implementation |
Provided by category OODebugMonitor(Private).
Definition at line 798 of file OODebugMonitor.m.
Referenced by setDebugger:.
|
implementation |
Provided by category OODebugMonitor(Private).
Definition at line 828 of file OODebugMonitor.m.
Referenced by init.
|
implementation |
Provided by category OODebugMonitor(Private).
Definition at line 848 of file OODebugMonitor.m.
Referenced by OODebugMonitor(Private)::normalizeConfigDictionary:, and setConfigurationValue:forKey:.
|
implementation |
Provided by category OODebugMonitor(Private).
Definition at line 971 of file OODebugMonitor.m.
|
implementation |
Reimplemented from <OODebugMonitorInterface>.
Definition at line 201 of file OODebugMonitor.m.
References OOJSScript::callMethod:inContext:withArguments:count:result:, kOOJSLongTimeLimit, OOJSAcquireContext(), OOJSRelinquishContext(), OOJSStartTimeLimiterWithTimeLimit, OOJSStopTimeLimiter, and OOJSValueFromNativeObject().
Referenced by OODebugController::hideShowHUD:, OODebugController::insertLogSeparatorAction:, OODebugController::inspectPlayer:, OODebugController::inspectTarget:, OOMacDebugger::performConsoleCommand:, OODebugController::SetDisplayLogMessagesInClassThroughJS, OODebugController::setShaderModeToTag:, OODebugController::spawnShip:, and OODebugController::toggleThisDebugFlagAction:.
|
implementation |
Provided by category OODebugMonitor(Singleton).
Definition at line 1030 of file OODebugMonitor.m.
Referenced by OOShipRegistry::reload.
|
implementation |
Provided by category OODebugMonitor(Singleton).
Definition at line 1018 of file OODebugMonitor.m.
|
implementation |
Provided by category OODebugMonitor(Singleton).
Definition at line 1024 of file OODebugMonitor.m.
|
implementation |
Reimplemented from <OODebugMonitorInterface>.
Definition at line 307 of file OODebugMonitor.m.
References _configOverrides, configurationValueForKey:, nil, normalizeConfigValue:forKey:, and OOLog.
Referenced by OOMacDebugger::setConfigurationValue:forKey:.
- (BOOL) setDebugger: | (id<OODebuggerInterface>) | debugger |
Definition at line 158 of file OODebugMonitor.m.
References _debugger, disconnectDebuggerWithMessage:, mergedConfiguration, nil, and OOLog.
Referenced by OOInitDebugSupport(), and PlayerEntity(OOControlsPrivate)::pollFlightControls:.
- (void) setTCPIgnoresDroppedPackets: | (BOOL) | flag |
Definition at line 649 of file OODebugMonitor.m.
References _TCPIgnoresDroppedPackets, and OOLog.
Referenced by ConsoleSetProperty().
|
implementation |
Provided by category OODebugMonitor(Private).
Definition at line 739 of file OODebugMonitor.m.
Referenced by init.
- (void) setUsingPlugInController: | (BOOL) | flag |
Definition at line 666 of file OODebugMonitor.m.
References _usingPlugInController.
Referenced by OOInitDebugSupport().
+ (OODebugMonitor *) sharedDebugMonitor |
Definition at line 146 of file OODebugMonitor.m.
References nil, sharedDebugMonitor, and sSingleton.
Referenced by ConsoleSetProperty(), ConsoleWriteJSMemoryStats(), ConsoleWriteMemoryStats(), OODebugController::hideShowHUD:, OODebugController::insertLogSeparatorAction:, OODebugController::inspectPlayer:, OODebugController::inspectTarget:, OOInitDebugSupport(), PlayerEntity(OOControlsPrivate)::pollFlightControls:, OODebugController::SetDisplayLogMessagesInClassThroughJS, OODebugController::setShaderModeToTag:, sharedDebugMonitor, OOJavaScriptConsoleController::showConsole:, OODebugController::spawnShip:, OODebugController::toggleThisDebugFlagAction:, and OOJavaScriptConsoleController::validateMenuItem:.
- (void) showJSConsole |
Definition at line 257 of file OODebugMonitor.m.
References OOJSPauseTimeLimiter(), OOJSResumeTimeLimiter(), OOLog, and showJSConsole.
Referenced by OODebugMonitor(Private)::jsEngine:context:error:stackSkip:showingLocation:withMessage:, OODebugMonitor(Private)::jsEngine:context:logMessage:ofClass:, OOJavaScriptConsoleController::showConsole:, and showJSConsole.
|
implementation |
Definition at line 374 of file OODebugMonitor.m.
|
implementation |
Reimplemented from <OODebugMonitorInterface>.
Definition at line 678 of file OODebugMonitor.m.
References _sourceFiles, count, loadSourceFile:, and nil.
Referenced by OODebugMonitor(Private)::jsEngine:context:error:stackSkip:showingLocation:withMessage:.
- (BOOL) TCPIgnoresDroppedPackets |
Definition at line 660 of file OODebugMonitor.m.
References _TCPIgnoresDroppedPackets, and TCPIgnoresDroppedPackets.
Referenced by TCPIgnoresDroppedPackets.
- (BOOL) usingPlugInController |
Definition at line 672 of file OODebugMonitor.m.
References _usingPlugInController, and usingPlugInController.
Referenced by usingPlugInController.
|
implementation |
Definition at line 360 of file OODebugMonitor.m.
References appendJSConsoleLine:colorKey:, and OOLog.
Referenced by dumpEntity:withState:parentVisible:, dumpJSMemoryStatistics, and dumpMemoryStatistics.
|
private |
Definition at line 80 of file OODebugMonitor.h.
|
private |
Definition at line 75 of file OODebugMonitor.h.
Referenced by init.
|
private |
Definition at line 76 of file OODebugMonitor.h.
Referenced by applicationWillTerminate:, init, and setConfigurationValue:forKey:.
|
private |
Definition at line 69 of file OODebugMonitor.h.
Referenced by debuggerConnected, disconnectDebugger:message:, and setDebugger:.
|
private |
Definition at line 79 of file OODebugMonitor.h.
|
private |
Definition at line 73 of file OODebugMonitor.h.
Referenced by dealloc.
|
private |
Definition at line 72 of file OODebugMonitor.h.
|
private |
Definition at line 81 of file OODebugMonitor.h.
Referenced by sourceCodeForFile:line:.
|
private |
Definition at line 83 of file OODebugMonitor.h.
Referenced by init, setTCPIgnoresDroppedPackets:, and TCPIgnoresDroppedPackets.
|
private |
Definition at line 84 of file OODebugMonitor.h.
Referenced by setUsingPlugInController:, and usingPlugInController.