Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JProbe Error: Unable to instrument for line profiling  RSS feed

 
Roland Pennings
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would guess that the class in question was compiled without the debugging information that provides line numbers.
Bill
 
Mark Gowdy
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!