FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Exceptions not going to output winndow

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
djlewis
Posted via mailing list.





PostPosted: Wed Feb 11, 2009 5:24 pm    Post subject: Exceptions not going to output winndow Reply with quote

Uncaught exceptions are not going to my output window when debugging. The
run just dies with no report of which line, what exception or the usual
stack traceback.

This used to work fine; now it doesn't, in NB 6.1 or 6.5. I'm using the
native Ruby platform, 1.8.6-p111. It does work fine JRuby.

Just to double-check, the exception ~is~ reported when running the same code
from the command line, outside NB. Also, normal output (like from puts) is
still going to the output window. Even an explicit "raise NameError" does
not send the output to the output window.

On another system this is fine. I guess I should try reinstalling NB, but
is there someplace to look to see if this got configured wrong?

I'm on Win XP Pro

Thanks. --David.
--
View this message in context: http://www.nabble.com/Exceptions-not-going-to-output-winndow-tp21958275p21958275.html
Sent from the NetBeans Ruby Users mailing list archive at Nabble.com.
Back to top
Erno Mononen
Posted via mailing list.





PostPosted: Wed Feb 11, 2009 5:29 pm    Post subject: Exceptions not going to output winndow Reply with quote

Hi David,

I think you're facing the same issue as in this thread:
http://www.nabble.com/No-backtrace-in-output-windows-while-debugging-td21181320.html

So the bug is in ruby-debug-ide, you need to upgrade it -- see Martin
Krauskopf's second comment in the thread.

HTH,
Erno


djlewis wrote:
Quote:
Uncaught exceptions are not going to my output window when debugging. The
run just dies with no report of which line, what exception or the usual
stack traceback.

This used to work fine; now it doesn't, in NB 6.1 or 6.5. I'm using the
native Ruby platform, 1.8.6-p111. It does work fine JRuby.

Just to double-check, the exception ~is~ reported when running the same code
from the command line, outside NB. Also, normal output (like from puts) is
still going to the output window. Even an explicit "raise NameError" does
not send the output to the output window.

On another system this is fine. I guess I should try reinstalling NB, but
is there someplace to look to see if this got configured wrong?

I'm on Win XP Pro

Thanks. --David.

Back to top
djlewis
Posted via mailing list.





PostPosted: Wed Feb 11, 2009 10:02 pm    Post subject: Exceptions not going to output winndow Reply with quote

Thanks -- that fixed it!

BTW, I did search, but only on "exception" plus "output window".
Unfortunately, the relevant post referred to "traceback" but not
"exception". I think there's a moral in there somewhere.

--David


Erno Mononen wrote:
Quote:

Hi David,

I think you're facing the same issue as in this thread:
http://www.nabble.com/No-backtrace-in-output-windows-while-debugging-td21181320.html

So the bug is in ruby-debug-ide, you need to upgrade it -- see Martin
Krauskopf's second comment in the thread.

HTH,
Erno


djlewis wrote:
Quote:
Uncaught exceptions are not going to my output window when debugging.
The
run just dies with no report of which line, what exception or the usual
stack traceback.

This used to work fine; now it doesn't, in NB 6.1 or 6.5. I'm using the
native Ruby platform, 1.8.6-p111. It does work fine JRuby.

Just to double-check, the exception ~is~ reported when running the same
code
from the command line, outside NB. Also, normal output (like from puts)
is
still going to the output window. Even an explicit "raise NameError"
does
not send the output to the output window.

On another system this is fine. I guess I should try reinstalling NB,
but
is there someplace to look to see if this got configured wrong?

I'm on Win XP Pro

Thanks. --David.










--
View this message in context: http://www.nabble.com/Exceptions-not-going-to-output-winndow-tp21958275p21965245.html
Sent from the NetBeans Ruby Users mailing list archive at Nabble.com.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB