Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Debugging view activation errors
Debugging view activation errors [message #183844] Wed, 08 June 2005 04:13 Go to next message
Kevin MacDonell is currently offline Kevin MacDonellFriend
Messages: 5
Registered: July 2009
Junior Member
I'm getting the error message: "An error has occurred when activating
this view"

I've stepped through the WB initializing my code -- it looks OK
(although I know I did something wrong somewhere) -- the question is,
how does one debug this kind of error? How do you trap the exception?

Thanks,
Kevin
Re: Debugging view activation errors [message #183856 is a reply to message #183844] Wed, 08 June 2005 04:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.unknown.com

Look at the error log (the view or the .log file) to see what the actual
error is. That'll also give you the stack trace. You can also "Add Java
Exception Breakpoint" in breakpoints' view (look at that view's toolbar).

"Kevin MacDonell" <kmacd@pacbell.net> wrote in message
news:d85r9e$obq$3@news.eclipse.org...
> I'm getting the error message: "An error has occurred when activating
> this view"
>
> I've stepped through the WB initializing my code -- it looks OK
> (although I know I did something wrong somewhere) -- the question is,
> how does one debug this kind of error? How do you trap the exception?
>
> Thanks,
> Kevin
Re: Debugging view activation errors [message #183882 is a reply to message #183856] Wed, 08 June 2005 12:07 Go to previous message
Kevin MacDonell is currently offline Kevin MacDonellFriend
Messages: 5
Registered: July 2009
Junior Member
Thank you -- that did the trick nicely (I didn't know about "Add Java
Exception BreakPoint")!

Pratik Shah wrote:
> Look at the error log (the view or the .log file) to see what the actual
> error is. That'll also give you the stack trace. You can also "Add Java
> Exception Breakpoint" in breakpoints' view (look at that view's toolbar).
>
> "Kevin MacDonell" <kmacd@pacbell.net> wrote in message
> news:d85r9e$obq$3@news.eclipse.org...
>
>>I'm getting the error message: "An error has occurred when activating
>>this view"
>>
>>I've stepped through the WB initializing my code -- it looks OK
>>(although I know I did something wrong somewhere) -- the question is,
>>how does one debug this kind of error? How do you trap the exception?
>>
>>Thanks,
>>Kevin
>
>
>
Previous Topic:Background Image
Next Topic:NEWBIE: can't see anything
Goto Forum:
  


Current Time: Thu Mar 28 20:41:15 GMT 2024

Powered by FUDForum. Page generated in 0.03162 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top