Vishakha Kulkarni
Vishakha Kulkarni

Reputation: 151

Why am i getting "File was not found in the executable" in stackdriver debug snapshot?

The classname and line number are valid. Does the source code also needs to be bundled with the binaries?

Upvotes: 0

Views: 141

Answers (1)

Erez Haba
Erez Haba

Reputation: 216

The source code does not need to be bundled with the binaries. For java, the jar need to include file and line information (which is usually there by default).

To take a snapshot, you need to specify the file and line number, not the classname. e.g., Foo.java:123

Upvotes: 0

Related Questions