Commit graph

15 commits

Author SHA1 Message Date
Riccardo Mottola
725da9e9c8 move debugger arguments down into the wrapper, since they are GDB specific. Interpret now the Path as the executable path, requiring the debugger path to be set earlier in the wrapper setup 2021-07-15 00:03:48 +02:00
Riccardo Mottola
b3a968b8a3 remove now unused ivar, moved into the controller 2021-07-09 10:31:24 +02:00
Riccardo Mottola
b1533c4a02 remove unused accessors 2021-07-09 00:44:02 +02:00
Riccardo Mottola
7adfa56357 the wrapper should be property of the controller, not the view 2021-07-08 23:43:09 +02:00
Riccardo Mottola
7c741d63e6 more work on debuggerWrappe 2021-06-29 23:42:52 +02:00
Riccardo Mottola
8b48d77cbb Uniform font defaults to use PCPreferenceController, fix Debugger to actually make setFont work thorugh the view-delegate chain. 2020-03-24 23:54:22 +01:00
Riccardo Mottola
6139623d1e delegate getter
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39963 72102866-910b-0410-8b05-ffd578937521
2016-07-07 09:23:52 +00:00
Riccardo Mottola
55b4d1a424 move process id into the debugger from the view
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@39716 72102866-910b-0410-8b05-ffd578937521
2016-05-03 21:26:31 +00:00
Riccardo Mottola
be6efbe7ba split view to delegate
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/branches/ptyview_with_pipes@39582 72102866-910b-0410-8b05-ffd578937521
2016-03-22 22:08:30 +00:00
Richard Frith-MacDonald
073b6a650d Use #import throughout
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27463 72102866-910b-0410-8b05-ffd578937521
2008-12-30 13:47:27 +00:00
Gregory John Casamento
fc1d806411 * Modules/Debuggers/ProjectCenter/PCDebugger.m: Added code
to do the restart and pause actions in the debugger.
	* Modules/Debuggers/ProjectCenter/PCDebuggerView.[hm]: Added
	method subProcessId and an ivar and the logic to parse the
	process id from debugger output.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27444 72102866-910b-0410-8b05-ffd578937521
2008-12-28 16:19:27 +00:00
Gregory John Casamento
96c021a74f * Framework/PCEditorManager.m: Changed code to use the filePath
that is passed in, since it is now fully qualified.
	* Modules/Debuggers/ProjectCenter/PCDebugger.m: Pass the "-f" (fullname)
	flag to gdb.  This causes gdb to give a fully qualified pathname back.
	* Modules/Debuggers/ProjectCenter/PCDebuggerView.[hm]: Code to 
	extract the line and file information.
	* Modules/Debuggers/ProjectCenter/PTYView.[hm]: New method
	putString:.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27439 72102866-910b-0410-8b05-ffd578937521
2008-12-27 05:43:41 +00:00
Gregory John Casamento
43e24cad84 * Modules/Debuggers/ProjectCenter/GNUmakefile: Added PTYView.[hm]
* Modules/Debuggers/ProjectCenter/PCDebugger.[hm]: Simplified to 
	call PCDebuggerView instance with the program to start.
	* Modules/Debuggers/ProjectCenter/PCDebuggerView.[hm]: Refactored
	into a subclass of PTYView.
	* Modules/Debuggers/ProjectCenter/PTYView.[hm]: pty based terminal
	view which allows us to read and write from a pseudo-terminal.
	The code in the master/slave methods was inspired by an example
	given in "UNIX Network Programming" by W. Richard Stevens and also
	Nicola Vitacolonna.
	* Modules/Debuggers/ProjectCenter/Resources/PCDebugger.gorm: Added
	PTYView and made the PCDebuggerView a subclass of it.   Also made
	the window release when closed so that the gdb process gets 
	terminated.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27416 72102866-910b-0410-8b05-ffd578937521
2008-12-25 15:46:41 +00:00
Riccardo Mottola
61691b8689 interpret char from the view and send them to the debugger std in
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27393 72102866-910b-0410-8b05-ffd578937521
2008-12-22 00:38:35 +00:00
Gregory John Casamento
173eb165ac Beginnings of debugger interface.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27314 72102866-910b-0410-8b05-ffd578937521
2008-12-16 21:31:41 +00:00