Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ForgeDebugger: First stab at a debugger GUI that connects to the actu…
…al running script using sockets. Still figuring out how to make the socket communication work.
- Loading branch information
0 parents
commit b350c3f
Showing
12 changed files
with
6,860 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/* Localized versions of Info.plist keys */ | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>English</string> | ||
<key>CFBundleDocumentTypes</key> | ||
<array> | ||
<dict> | ||
<key>CFBundleTypeExtensions</key> | ||
<array> | ||
<string>hc</string> | ||
<string>forge</string> | ||
<string>txt</string> | ||
</array> | ||
<key>CFBundleTypeName</key> | ||
<string>Forge Script</string> | ||
<key>CFBundleTypeOSTypes</key> | ||
<array> | ||
<string>TEXT</string> | ||
</array> | ||
<key>CFBundleTypeRole</key> | ||
<string>Editor</string> | ||
<key>LSTypeIsPackage</key> | ||
<false/> | ||
<key>NSPersistentStoreTypeKey</key> | ||
<string>XML</string> | ||
</dict> | ||
</array> | ||
<key>CFBundleExecutable</key> | ||
<string>${EXECUTABLE_NAME}</string> | ||
<key>CFBundleIconFile</key> | ||
<string></string> | ||
<key>CFBundleIdentifier</key> | ||
<string>com.thevoidsoftware.${PRODUCT_NAME:rfc1034identifier}</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>${PRODUCT_NAME}</string> | ||
<key>CFBundlePackageType</key> | ||
<string>APPL</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>1.0</string> | ||
<key>CFBundleSignature</key> | ||
<string>????</string> | ||
<key>CFBundleVersion</key> | ||
<string>1</string> | ||
<key>LSMinimumSystemVersion</key> | ||
<string>${MACOSX_DEPLOYMENT_TARGET}</string> | ||
<key>NSMainNibFile</key> | ||
<string>MainMenu</string> | ||
<key>NSPrincipalClass</key> | ||
<string>NSApplication</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,301 @@ | ||
// !$*UTF8*$! | ||
{ | ||
archiveVersion = 1; | ||
classes = { | ||
}; | ||
objectVersion = 45; | ||
objects = { | ||
|
||
/* Begin PBXBuildFile section */ | ||
1DDD58160DA1D0A300B32029 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1DDD58140DA1D0A300B32029 /* MainMenu.xib */; }; | ||
256AC3DA0F4B6AC300CF3369 /* ForgeDebuggerAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 256AC3D90F4B6AC300CF3369 /* ForgeDebuggerAppDelegate.m */; }; | ||
55E7FE8E12E0EE2000C7DE5D /* ForgeDebuggerConnection.m in Sources */ = {isa = PBXBuildFile; fileRef = 55E7FE8D12E0EE2000C7DE5D /* ForgeDebuggerConnection.m */; }; | ||
55E7FE9E12E0F29100C7DE5D /* NetSocket.m in Sources */ = {isa = PBXBuildFile; fileRef = 55E7FE9D12E0F29100C7DE5D /* NetSocket.m */; }; | ||
8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; }; | ||
8D11072D0486CEB800E47090 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 29B97316FDCFA39411CA2CEA /* main.m */; settings = {ATTRIBUTES = (); }; }; | ||
8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; | ||
/* End PBXBuildFile section */ | ||
|
||
/* Begin PBXFileReference section */ | ||
089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; }; | ||
1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; }; | ||
13E42FB307B3F0F600E4EEF1 /* CoreData.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreData.framework; path = /System/Library/Frameworks/CoreData.framework; sourceTree = "<absolute>"; }; | ||
1DDD58150DA1D0A300B32029 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/MainMenu.xib; sourceTree = "<group>"; }; | ||
256AC3D80F4B6AC300CF3369 /* ForgeDebuggerAppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ForgeDebuggerAppDelegate.h; sourceTree = "<group>"; }; | ||
256AC3D90F4B6AC300CF3369 /* ForgeDebuggerAppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ForgeDebuggerAppDelegate.m; sourceTree = "<group>"; }; | ||
256AC3F00F4B6AF500CF3369 /* ForgeDebugger_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ForgeDebugger_Prefix.pch; sourceTree = "<group>"; }; | ||
29B97316FDCFA39411CA2CEA /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; | ||
29B97324FDCFA39411CA2CEA /* AppKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AppKit.framework; path = /System/Library/Frameworks/AppKit.framework; sourceTree = "<absolute>"; }; | ||
29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; }; | ||
55E7FE8C12E0EE2000C7DE5D /* ForgeDebuggerConnection.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ForgeDebuggerConnection.h; sourceTree = "<group>"; }; | ||
55E7FE8D12E0EE2000C7DE5D /* ForgeDebuggerConnection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ForgeDebuggerConnection.m; sourceTree = "<group>"; }; | ||
55E7FE9C12E0F29100C7DE5D /* NetSocket.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NetSocket.h; sourceTree = "<group>"; }; | ||
55E7FE9D12E0F29100C7DE5D /* NetSocket.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NetSocket.m; sourceTree = "<group>"; }; | ||
8D1107310486CEB800E47090 /* ForgeDebugger-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "ForgeDebugger-Info.plist"; sourceTree = "<group>"; }; | ||
8D1107320486CEB800E47090 /* ForgeDebugger.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ForgeDebugger.app; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
/* End PBXFileReference section */ | ||
|
||
/* Begin PBXFrameworksBuildPhase section */ | ||
8D11072E0486CEB800E47090 /* Frameworks */ = { | ||
isa = PBXFrameworksBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXFrameworksBuildPhase section */ | ||
|
||
/* Begin PBXGroup section */ | ||
080E96DDFE201D6D7F000001 /* Classes */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
256AC3D80F4B6AC300CF3369 /* ForgeDebuggerAppDelegate.h */, | ||
256AC3D90F4B6AC300CF3369 /* ForgeDebuggerAppDelegate.m */, | ||
55E7FE8C12E0EE2000C7DE5D /* ForgeDebuggerConnection.h */, | ||
55E7FE8D12E0EE2000C7DE5D /* ForgeDebuggerConnection.m */, | ||
55E7FE9C12E0F29100C7DE5D /* NetSocket.h */, | ||
55E7FE9D12E0F29100C7DE5D /* NetSocket.m */, | ||
); | ||
name = Classes; | ||
sourceTree = "<group>"; | ||
}; | ||
1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */, | ||
); | ||
name = "Linked Frameworks"; | ||
sourceTree = "<group>"; | ||
}; | ||
1058C7A2FEA54F0111CA2CBB /* Other Frameworks */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
29B97324FDCFA39411CA2CEA /* AppKit.framework */, | ||
13E42FB307B3F0F600E4EEF1 /* CoreData.framework */, | ||
29B97325FDCFA39411CA2CEA /* Foundation.framework */, | ||
); | ||
name = "Other Frameworks"; | ||
sourceTree = "<group>"; | ||
}; | ||
19C28FACFE9D520D11CA2CBB /* Products */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
8D1107320486CEB800E47090 /* ForgeDebugger.app */, | ||
); | ||
name = Products; | ||
sourceTree = "<group>"; | ||
}; | ||
29B97314FDCFA39411CA2CEA /* ForgeDebugger */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
080E96DDFE201D6D7F000001 /* Classes */, | ||
29B97315FDCFA39411CA2CEA /* Other Sources */, | ||
29B97317FDCFA39411CA2CEA /* Resources */, | ||
29B97323FDCFA39411CA2CEA /* Frameworks */, | ||
19C28FACFE9D520D11CA2CBB /* Products */, | ||
); | ||
name = ForgeDebugger; | ||
sourceTree = "<group>"; | ||
}; | ||
29B97315FDCFA39411CA2CEA /* Other Sources */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
256AC3F00F4B6AF500CF3369 /* ForgeDebugger_Prefix.pch */, | ||
29B97316FDCFA39411CA2CEA /* main.m */, | ||
); | ||
name = "Other Sources"; | ||
sourceTree = "<group>"; | ||
}; | ||
29B97317FDCFA39411CA2CEA /* Resources */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
8D1107310486CEB800E47090 /* ForgeDebugger-Info.plist */, | ||
089C165CFE840E0CC02AAC07 /* InfoPlist.strings */, | ||
1DDD58140DA1D0A300B32029 /* MainMenu.xib */, | ||
); | ||
name = Resources; | ||
sourceTree = "<group>"; | ||
}; | ||
29B97323FDCFA39411CA2CEA /* Frameworks */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, | ||
1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, | ||
); | ||
name = Frameworks; | ||
sourceTree = "<group>"; | ||
}; | ||
/* End PBXGroup section */ | ||
|
||
/* Begin PBXNativeTarget section */ | ||
8D1107260486CEB800E47090 /* ForgeDebugger */ = { | ||
isa = PBXNativeTarget; | ||
buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "ForgeDebugger" */; | ||
buildPhases = ( | ||
8D1107290486CEB800E47090 /* Resources */, | ||
8D11072C0486CEB800E47090 /* Sources */, | ||
8D11072E0486CEB800E47090 /* Frameworks */, | ||
); | ||
buildRules = ( | ||
); | ||
dependencies = ( | ||
); | ||
name = ForgeDebugger; | ||
productInstallPath = "$(HOME)/Applications"; | ||
productName = ForgeDebugger; | ||
productReference = 8D1107320486CEB800E47090 /* ForgeDebugger.app */; | ||
productType = "com.apple.product-type.application"; | ||
}; | ||
/* End PBXNativeTarget section */ | ||
|
||
/* Begin PBXProject section */ | ||
29B97313FDCFA39411CA2CEA /* Project object */ = { | ||
isa = PBXProject; | ||
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "ForgeDebugger" */; | ||
compatibilityVersion = "Xcode 3.1"; | ||
developmentRegion = English; | ||
hasScannedForEncodings = 1; | ||
knownRegions = ( | ||
English, | ||
Japanese, | ||
French, | ||
German, | ||
); | ||
mainGroup = 29B97314FDCFA39411CA2CEA /* ForgeDebugger */; | ||
projectDirPath = ""; | ||
projectRoot = ""; | ||
targets = ( | ||
8D1107260486CEB800E47090 /* ForgeDebugger */, | ||
); | ||
}; | ||
/* End PBXProject section */ | ||
|
||
/* Begin PBXResourcesBuildPhase section */ | ||
8D1107290486CEB800E47090 /* Resources */ = { | ||
isa = PBXResourcesBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */, | ||
1DDD58160DA1D0A300B32029 /* MainMenu.xib in Resources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXResourcesBuildPhase section */ | ||
|
||
/* Begin PBXSourcesBuildPhase section */ | ||
8D11072C0486CEB800E47090 /* Sources */ = { | ||
isa = PBXSourcesBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
8D11072D0486CEB800E47090 /* main.m in Sources */, | ||
256AC3DA0F4B6AC300CF3369 /* ForgeDebuggerAppDelegate.m in Sources */, | ||
55E7FE8E12E0EE2000C7DE5D /* ForgeDebuggerConnection.m in Sources */, | ||
55E7FE9E12E0F29100C7DE5D /* NetSocket.m in Sources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
/* End PBXSourcesBuildPhase section */ | ||
|
||
/* Begin PBXVariantGroup section */ | ||
089C165CFE840E0CC02AAC07 /* InfoPlist.strings */ = { | ||
isa = PBXVariantGroup; | ||
children = ( | ||
089C165DFE840E0CC02AAC07 /* English */, | ||
); | ||
name = InfoPlist.strings; | ||
sourceTree = "<group>"; | ||
}; | ||
1DDD58140DA1D0A300B32029 /* MainMenu.xib */ = { | ||
isa = PBXVariantGroup; | ||
children = ( | ||
1DDD58150DA1D0A300B32029 /* English */, | ||
); | ||
name = MainMenu.xib; | ||
sourceTree = "<group>"; | ||
}; | ||
/* End PBXVariantGroup section */ | ||
|
||
/* Begin XCBuildConfiguration section */ | ||
C01FCF4B08A954540054247B /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ALWAYS_SEARCH_USER_PATHS = NO; | ||
COPY_PHASE_STRIP = NO; | ||
GCC_DYNAMIC_NO_PIC = NO; | ||
GCC_ENABLE_FIX_AND_CONTINUE = YES; | ||
GCC_MODEL_TUNING = G5; | ||
GCC_OPTIMIZATION_LEVEL = 0; | ||
GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
GCC_PREFIX_HEADER = ForgeDebugger_Prefix.pch; | ||
INFOPLIST_FILE = "ForgeDebugger-Info.plist"; | ||
INSTALL_PATH = "$(HOME)/Applications"; | ||
PRODUCT_NAME = ForgeDebugger; | ||
}; | ||
name = Debug; | ||
}; | ||
C01FCF4C08A954540054247B /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ALWAYS_SEARCH_USER_PATHS = NO; | ||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; | ||
GCC_MODEL_TUNING = G5; | ||
GCC_PRECOMPILE_PREFIX_HEADER = YES; | ||
GCC_PREFIX_HEADER = ForgeDebugger_Prefix.pch; | ||
INFOPLIST_FILE = "ForgeDebugger-Info.plist"; | ||
INSTALL_PATH = "$(HOME)/Applications"; | ||
PRODUCT_NAME = ForgeDebugger; | ||
}; | ||
name = Release; | ||
}; | ||
C01FCF4F08A954540054247B /* Debug */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; | ||
GCC_C_LANGUAGE_STANDARD = gnu99; | ||
GCC_OPTIMIZATION_LEVEL = 0; | ||
GCC_WARN_ABOUT_RETURN_TYPE = YES; | ||
GCC_WARN_UNUSED_VARIABLE = YES; | ||
ONLY_ACTIVE_ARCH = YES; | ||
PREBINDING = NO; | ||
SDKROOT = macosx10.6; | ||
}; | ||
name = Debug; | ||
}; | ||
C01FCF5008A954540054247B /* Release */ = { | ||
isa = XCBuildConfiguration; | ||
buildSettings = { | ||
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; | ||
GCC_C_LANGUAGE_STANDARD = gnu99; | ||
GCC_WARN_ABOUT_RETURN_TYPE = YES; | ||
GCC_WARN_UNUSED_VARIABLE = YES; | ||
PREBINDING = NO; | ||
SDKROOT = macosx10.6; | ||
}; | ||
name = Release; | ||
}; | ||
/* End XCBuildConfiguration section */ | ||
|
||
/* Begin XCConfigurationList section */ | ||
C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "ForgeDebugger" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
C01FCF4B08A954540054247B /* Debug */, | ||
C01FCF4C08A954540054247B /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
C01FCF4E08A954540054247B /* Build configuration list for PBXProject "ForgeDebugger" */ = { | ||
isa = XCConfigurationList; | ||
buildConfigurations = ( | ||
C01FCF4F08A954540054247B /* Debug */, | ||
C01FCF5008A954540054247B /* Release */, | ||
); | ||
defaultConfigurationIsVisible = 0; | ||
defaultConfigurationName = Release; | ||
}; | ||
/* End XCConfigurationList section */ | ||
}; | ||
rootObject = 29B97313FDCFA39411CA2CEA /* Project object */; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// | ||
// ForgeDebuggerAppDelegate.h | ||
// ForgeDebugger | ||
// | ||
// Created by Uli Kusterer on 14.01.11. | ||
// Copyright 2011 Uli Kusterer. All rights reserved. | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
|
||
|
||
@class NetSocket; | ||
|
||
|
||
@interface ForgeDebuggerAppDelegate : NSObject <NSApplicationDelegate> | ||
{ | ||
NSWindow * mWindow; | ||
NSTableView * mStackTable; | ||
NSTableView * mVariablesTable; | ||
NSTextView * mTextView; | ||
NetSocket * mServerSocket; | ||
} | ||
|
||
@property (assign) IBOutlet NSWindow * window; | ||
@property (assign) IBOutlet NSTableView * stackTable; | ||
@property (assign) IBOutlet NSTableView * variablesTable; | ||
@property (assign) IBOutlet NSTextView * textView; | ||
|
||
@end |
Oops, something went wrong.