• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

JProbe Error: Unable to instrument for line profiling

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
When I try to do a profiling of my application with Jprobe 5.0 I get the following error (after launching a servlet):
JProbe Error: Unable to instrument b2b2c/metier/ConfigurationTaches for line profiling
JProbe Error: Non-critical functionality may be affected.
JProbe Fatal Error: Unable to instrument b2b2c/metier/ConfigurationTaches for method profiling; unable to continue
JProbe Exiting
Does somebody have an idea what is happening ?
Thanks,
Roland
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would guess that the class in question was compiled without the debugging information that provides line numbers.
Bill
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A common cause of this error is trying to run JProbe against large methods. Instrumenting large methods could increase the size of the method over the 64Kb limit imposed on the compiled code.

You can add a filter for this method, to not include in instrumentation. This will encapsulate the calls to this method up the call tree.

Cheers

Mark
reply
    Bookmark Topic Watch Topic
  • New Topic