Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can you crash a Java App to generate java.crash.log?



Mike Hall wrote:
| Launching the application this way might make it more responsive to the kill signal. 

Glen Fisher (*not* Fischer--I write the full name every post!) wrote:
| Nope. Whether an application responds (or not) to a signal is entirely up to the application. 

Mike Hall wrote:
| For ctrl-\ Terminal and specifically command line entered and not script
| run (or at least not .bat ...) launched seems to be required which
| implies some difference to something other than the application I
| think.

Yes: the difference between pressing a key and not pressing a key. It's *pressing the keys* that generates the signal. If you manage to get a ctrl-\ into a script, it's just one more character.

If you mean that script-run commands don't respond to ctrl-\, then most likely the shell that's processing them has chosen to ignore the signal.


| I don't see how this is up to the application.

I didn't say it was. I said it was up to the application whether to *respond* to it. (Not every application produces stack traces in response to "kill -QUIT", after all.) However, in point of fact, the application *can* disable the keypress completely, by setting the terminal's "local mode" appropriately.

Glen Fisher


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Can you crash a Java App to generate java.crash.log? (From: "Mark Brown" <email@hidden>)
 >Re: Can you crash a Java App to generate java.crash.log? (From: Mike Hall <email@hidden>)
 >Re: Can you crash a Java App to generate java.crash.log? (From: email@hidden)
 >Re: Can you crash a Java App to generate java.crash.log? (From: Mike Hall <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.