Home » Eclipse Projects » Rich Client Platform (RCP) » [Mac] where is the ".log" file?
| | |
Re: [Mac] where is the ".log" file? [message #653933 is a reply to message #653888] |
Fri, 11 February 2011 22:32 |
Thomas Schindl Messages: 6651 Registered: July 2009 |
Senior Member |
|
|
Oh you are running within Eclipse then you should simply pass the
-consoleLog when launching your app.
Tom
Am 11.02.11 18:37, schrieb Paul E. Keyser:
> Um, sorry, no such directory-or-file found ... not even one called "*.app"
>
> "MyLittleRCP.app"?
>
> What path are you expecting to find "MyLittleRCP.app" within?
>
> thanks
> Paul
>
> On 2/11/11 12:19 PM, Tom Schindl wrote:
>> Take a look in the MyLittRCP.app/.... which in reality is a directory!
>>
>> Tom
>>
>> Am 11.02.11 17:45, schrieb Paul E. Keyser:
>>> Mac OS 10.6.3
>>> Eclipse 3.6.1 (20100917-0705)
>>>
>>> There I am running my little RCP from within Eclipse, and (oddly! :) )
>>> there is a bug, so I want to see the Exn that I have of course carefully
>>> logged ... ooops, no.log file that Spotlight can find, and nothing in
>>> the "runtime-MyLittleRCP.product" directory.
>>>
>>> So where do the logged events go?
>>>
>>> thanks
>>> Paul
>>
>
|
|
| |
Re: [Mac] where is the ".log" file? [message #654185 is a reply to message #653933] |
Mon, 14 February 2011 14:27 |
Paul E. Keyser Messages: 878 Registered: July 2009 |
Senior Member |
|
|
Sorry, should have made that more clear (since an RCP can of course be
exported and runs standalone). However, even after adding that, I see so
log anywhere -- I am logging an Exception (I can step through the code
there), that gets printed to the console, but when I ask Spotlight to
find a String in that Exception (e.g., a long unique token in the
message, or a stack-frame label, org.eclipse.foo...line-number-etc.), it
is not found.
I then tried to step into the call to Log.log(IStatus), but even after
importing the relevant plug-in from the target platform, had no source
code there:
"The JAR file org.eclipse.core.runtime_3.5.0.v20090525.jar has no source
attachment. You can attach the source by clicking Attach Source below."
This is all so weird, I am beginning to think something has gone wrong
with my install of Eclipse ... I didn't see any special instructions on
the Eclipse downloads site for Mac, nor did I find any at
http://help.eclipse.org/helios/index.jsp -- but are there some
somewhere? (All I did was get the zip and expand it into the
"Applications" folder.)
thanks
Paul
On 2/11/11 5:32 PM, Tom Schindl wrote:
> Oh you are running within Eclipse then you should simply pass the
> -consoleLog when launching your app.
>
> Tom
>
|
|
| |
Goto Forum:
Current Time: Fri Apr 26 09:02:55 GMT 2024
Powered by FUDForum. Page generated in 0.03207 seconds
|