[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in NSWorkspace?
From: |
Richard Frith-Macdonald |
Subject: |
Re: Bug in NSWorkspace? |
Date: |
Fri, 22 Feb 2002 07:32:09 +0000 |
On Thursday, February 21, 2002, at 12:45 PM, Philippe C.D. Robert wrote:
Hi,
when I try to open a file from ProjectCenter using
[[NSWorkspace sharedWorkspace] openFile:path withApplication:app];
ProjectCenter always crashes. You can reprodue that using the latest
code from
CVS using ie. CodeEditor.app as external editor
(PCEditorController.m:210).
This always occurs, even when CodeEditor.app is running and the file is
opened
correctly (also the app is not started upon this call, it has to be
started
manually in advance).
Ok ... got CodeEditor and set up stuff to work with it ... ran under
debug, and
the crash was at line 689 in PCProject.m - with rubbish returned from
editorForFile:
(a method declared to return a PCEditor, but which in fact returns
nothing).
I think the bug is in PCEditorController.m