• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Core dump of Java Application

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
How to read core dump produced by Java application ?
Thanks.
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
By it's nature a core dump would be operating system specific. Since that is not the intent of Java you will have a hard time doing this.
Perhaps a native method that calls system specific C code would work.
 
sanju dharma
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Cindy for the response.
Means, one of the way to debug is, attach Java interpreter session to "jdb" while running the application . Correct ?
Sudhir
 
Cindy Glass
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, some of the IDE's have nice debugging features (one of the major reasons some people use them), but I am not sure what you mean by attaching a Java interpreter session.
 
sanju dharma
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the response Cindy.
Means , the only way to find problem at run time for application crashing is to attach "jdb" to Java interpreter session . Correct ? For that you have to simulate or wait for occurence of the problem.
Sudhir
 
sanju dharma
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oops !! my question got repeated (i was not able to see my reply so typed again)
Attaching a JVM , i mean, attaching to active JVM on which application is running. Nothing but debugging with "jdb". Do you know any IDE or anything which gives information of what happened at the time of crashing ?
Thanks.
 
Cindy Glass
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Let's move this to the IDE forum and see if anyone over there knows the answer.
reply
    Bookmark Topic Watch Topic
  • New Topic