Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » See error logs
See error logs [message #28250] Tue, 29 May 2007 18:38 Go to next message
Roberto Sanchez is currently offline Roberto SanchezFriend
Messages: 82
Registered: July 2009
Member
Hi, I'm finding several problems with my app in IExplorer, It's obvious
that there is an error in any place, but RAP hide it, I have to put and
hide parts of code in my application to find the error cause.

Is there any way (only for debugging purposes) to see complete errors
trace, something like a printStackTrace in exception would be nice. Or
something to see javascript error in browser that could help to find the
problem

Please, I'm getting crazy looking for error causes.

Thanks in advance.
Roberto.
Re: See error logs [message #28289 is a reply to message #28250] Tue, 29 May 2007 19:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: b.muskalla.gmx.net

Hi Roberto,

as I'm working on Linux boxes all the time, I'm not using the IE that
often. But here are two articles about MS Script Editor and JS Debugger
for IE which could be interesting for you.

http://www.jonathanboutelle.com/mt/archives/2006/01/howto_de bug_jav.html
http://blogs.msdn.com/ie/archive/2004/10/26/247912.aspx

As I said, I never played around with these stuff myself. Maybe Ralf or
Rüdiger know better tools to work with JS+IE.

Greets
Benny

Roberto Sá‡nchez wrote:
> Hi, I'm finding several problems with my app in IExplorer, It's obvious
> that there is an error in any place, but RAP hide it, I have to put and
> hide parts of code in my application to find the error cause.
>
> Is there any way (only for debugging purposes) to see complete errors
> trace, something like a printStackTrace in exception would be nice. Or
> something to see javascript error in browser that could help to find the
> problem
>
> Please, I'm getting crazy looking for error causes.
>
> Thanks in advance.
> Roberto.
>
Re: See error logs [message #28325 is a reply to message #28289] Tue, 29 May 2007 19:39 Go to previous messageGo to next message
Roberto Sanchez is currently offline Roberto SanchezFriend
Messages: 82
Registered: July 2009
Member
Hi Benjamiin, In fact, I'm looking for something in "RAP-side", there
are errors that doesn't appear in IE as "javascript errors" (nor server
logs) but the error exists.

As I said before, now I have an important error in IExplorer but I was
speaking in general, I also had this problem with FF in several
situations, when something goes wrong in RAP framework not always is
shown in traces.

I'm developing with MacOS, and I use WinXP/IExplorer only for testing
purposes, but I'll install JS Debugger in order to get more info.

Regards.
Roberto.


Benjamin Muskalla escribió:
> Hi Roberto,
>
> as I'm working on Linux boxes all the time, I'm not using the IE that
> often. But here are two articles about MS Script Editor and JS Debugger
> for IE which could be interesting for you.
>
> http://www.jonathanboutelle.com/mt/archives/2006/01/howto_de bug_jav.html
> http://blogs.msdn.com/ie/archive/2004/10/26/247912.aspx
>
> As I said, I never played around with these stuff myself. Maybe Ralf or
> Rüdiger know better tools to work with JS+IE.
>
> Greets
> Benny
>
> Roberto Sá‡nchez wrote:
>> Hi, I'm finding several problems with my app in IExplorer, It's
>> obvious that there is an error in any place, but RAP hide it, I have
>> to put and hide parts of code in my application to find the error cause.
>>
>> Is there any way (only for debugging purposes) to see complete errors
>> trace, something like a printStackTrace in exception would be nice. Or
>> something to see javascript error in browser that could help to find
>> the problem
>>
>> Please, I'm getting crazy looking for error causes.
>>
>> Thanks in advance.
>> Roberto.
>>
Re: See error logs [message #28363 is a reply to message #28325] Wed, 30 May 2007 09:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: fappel.innoopract.com

Hi,

did you try the Qooxdoo console? Use
the -Dorg.eclipse.swt.clientLogLevel=ALL system property to activate the
console. It may show helpful hints of internal problems that do not show up
as javascript errors or as java stacktraces. What kind of problem do you
have at the moment?

Ciao
Frank

"Roberto S
Re: See error logs [message #28400 is a reply to message #28363] Wed, 30 May 2007 11:29 Go to previous messageGo to next message
Roberto Sanchez is currently offline Roberto SanchezFriend
Messages: 82
Registered: July 2009
Member
Thank you Frank, That is exactly what I'm looking for.

In RAP Demo launcher appears: -Dorg.eclipse.rap.rwt.clientLogLevel=ALL I
seeted in my app launcher but didn't work, I suppose that It's an
obsolete property I've tryed with -Dorg.eclipse.swt.clientLogLevel=ALL
and now I can see "everything" It's wonderful ;-)

My problem is related, again, with ScrolledComposite, I need more info
but If I comment this code error doesn't appear:

[...]
if (aux != null && aux instanceof ScrolledComposite) {
ScrolledComposite sc = (ScrolledComposite)aux;
ScrollBar sb = sc.getVerticalBar();
if (sb != null) {
int down = sb.getMaximum() - sb.getThumb();
sc.getContent().setLocation(0, 0);
sb.setSelection(down);
}
}

In IExplorer appears an error (Something related with a mouse event),
that code is executed for a ScrolledComposite that is included in a
TabItem which is "no-active", but when this tab become active then
something fail. When I has more info I'll post a new bug entry.

I was using that piece of code to make programatic scroll at bottom of
the ScrollComposite, Is there another way (easier) to do that ?

Regards.
Roberto.


Frank Appel escribió:
> Hi,
>
> did you try the Qooxdoo console? Use
> the -Dorg.eclipse.swt.clientLogLevel=ALL system property to activate the
> console. It may show helpful hints of internal problems that do not show up
> as javascript errors or as java stacktraces. What kind of problem do you
> have at the moment?
>
> Ciao
> Frank
>
> "Roberto Sá‡nchez" <roberto@autonomind.com> schrieb im Newsbeitrag
> news:f3hvha$m9u$1@build.eclipse.org...
>> Hi Benjamiin, In fact, I'm looking for something in "RAP-side", there are
>> errors that doesn't appear in IE as "javascript errors" (nor server logs)
>> but the error exists.
>>
>> As I said before, now I have an important error in IExplorer but I was
>> speaking in general, I also had this problem with FF in several
>> situations, when something goes wrong in RAP framework not always is shown
>> in traces.
>>
>> I'm developing with MacOS, and I use WinXP/IExplorer only for testing
>> purposes, but I'll install JS Debugger in order to get more info.
>>
>> Regards.
>> Roberto.
>>
>>
>> Benjamin Muskalla escribió:
>>> Hi Roberto,
>>>
>>> as I'm working on Linux boxes all the time, I'm not using the IE that
>>> often. But here are two articles about MS Script Editor and JS Debugger
>>> for IE which could be interesting for you.
>>>
>>> http://www.jonathanboutelle.com/mt/archives/2006/01/howto_de bug_jav.html
>>> http://blogs.msdn.com/ie/archive/2004/10/26/247912.aspx
>>>
>>> As I said, I never played around with these stuff myself. Maybe Ralf or
>>> Rüdiger know better tools to work with JS+IE.
>>>
>>> Greets
>>> Benny
>>>
>>> Roberto Sá‡nchez wrote:
>>>> Hi, I'm finding several problems with my app in IExplorer, It's obvious
>>>> that there is an error in any place, but RAP hide it, I have to put and
>>>> hide parts of code in my application to find the error cause.
>>>>
>>>> Is there any way (only for debugging purposes) to see complete errors
>>>> trace, something like a printStackTrace in exception would be nice. Or
>>>> something to see javascript error in browser that could help to find the
>>>> problem
>>>>
>>>> Please, I'm getting crazy looking for error causes.
>>>>
>>>> Thanks in advance.
>>>> Roberto.
>>>>
>
>
Re: See error logs [message #28432 is a reply to message #28400] Wed, 30 May 2007 12:39 Go to previous message
Roberto Sanchez is currently offline Roberto SanchezFriend
Messages: 82
Registered: July 2009
Member
I've created this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=189902



Roberto Sá‡nchez escribió:
> Thank you Frank, That is exactly what I'm looking for.
>
> In RAP Demo launcher appears: -Dorg.eclipse.rap.rwt.clientLogLevel=ALL I
> seeted in my app launcher but didn't work, I suppose that It's an
> obsolete property I've tryed with -Dorg.eclipse.swt.clientLogLevel=ALL
> and now I can see "everything" It's wonderful ;-)
>
> My problem is related, again, with ScrolledComposite, I need more info
> but If I comment this code error doesn't appear:
>
> [...]
> if (aux != null && aux instanceof ScrolledComposite) {
> ScrolledComposite sc = (ScrolledComposite)aux;
> ScrollBar sb = sc.getVerticalBar();
> if (sb != null) {
> int down = sb.getMaximum() - sb.getThumb();
> sc.getContent().setLocation(0, 0);
> sb.setSelection(down);
> }
> }
>
> In IExplorer appears an error (Something related with a mouse event),
> that code is executed for a ScrolledComposite that is included in a
> TabItem which is "no-active", but when this tab become active then
> something fail. When I has more info I'll post a new bug entry.
>
> I was using that piece of code to make programatic scroll at bottom of
> the ScrollComposite, Is there another way (easier) to do that ?
>
> Regards.
> Roberto.
>
>
> Frank Appel escribió:
>> Hi,
>>
>> did you try the Qooxdoo console? Use the
>> -Dorg.eclipse.swt.clientLogLevel=ALL system property to activate the
>> console. It may show helpful hints of internal problems that do not
>> show up as javascript errors or as java stacktraces. What kind of
>> problem do you have at the moment?
>>
>> Ciao
>> Frank
>>
>> "Roberto Sá‡nchez" <roberto@autonomind.com> schrieb im Newsbeitrag
>> news:f3hvha$m9u$1@build.eclipse.org...
>>> Hi Benjamiin, In fact, I'm looking for something in "RAP-side", there
>>> are errors that doesn't appear in IE as "javascript errors" (nor
>>> server logs) but the error exists.
>>>
>>> As I said before, now I have an important error in IExplorer but I
>>> was speaking in general, I also had this problem with FF in several
>>> situations, when something goes wrong in RAP framework not always is
>>> shown in traces.
>>>
>>> I'm developing with MacOS, and I use WinXP/IExplorer only for
>>> testing purposes, but I'll install JS Debugger in order to get more
>>> info.
>>>
>>> Regards.
>>> Roberto.
>>>
>>>
>>> Benjamin Muskalla escribió:
>>>> Hi Roberto,
>>>>
>>>> as I'm working on Linux boxes all the time, I'm not using the IE
>>>> that often. But here are two articles about MS Script Editor and JS
>>>> Debugger for IE which could be interesting for you.
>>>>
>>>> http://www.jonathanboutelle.com/mt/archives/2006/01/howto_de bug_jav.html
>>>>
>>>> http://blogs.msdn.com/ie/archive/2004/10/26/247912.aspx
>>>>
>>>> As I said, I never played around with these stuff myself. Maybe Ralf
>>>> or Rüdiger know better tools to work with JS+IE.
>>>>
>>>> Greets
>>>> Benny
>>>>
>>>> Roberto Sá‡nchez wrote:
>>>>> Hi, I'm finding several problems with my app in IExplorer, It's
>>>>> obvious that there is an error in any place, but RAP hide it, I
>>>>> have to put and hide parts of code in my application to find the
>>>>> error cause.
>>>>>
>>>>> Is there any way (only for debugging purposes) to see complete
>>>>> errors trace, something like a printStackTrace in exception would
>>>>> be nice. Or something to see javascript error in browser that could
>>>>> help to find the problem
>>>>>
>>>>> Please, I'm getting crazy looking for error causes.
>>>>>
>>>>> Thanks in advance.
>>>>> Roberto.
>>>>>
>>
>>
Previous Topic:Canvas Support in Rap
Next Topic:Preload images
Goto Forum:
  


Current Time: Fri Apr 26 08:41:45 GMT 2024

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

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

Back to the top