Skip to content

Commit

Permalink
Bug fix to handle when a DebugSymbol look up has failed
Browse files Browse the repository at this point in the history
  • Loading branch information
chame1eon committed Oct 17, 2019
1 parent 8488bfc commit 1032ecd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# jnitrace Change Log

## 2.2.2
- Bug fix to handle when a DebugSymbol look up has failed for an address.

## 2.2.1
- Sorted the alignment of the backtraces so they are right justified
- Fixed a bug when tracing Release<ArrayType>Elements where all types were assumed to be the size of a pointer
Expand Down
2 changes: 2 additions & 0 deletions jnitrace/jnitrace.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ def _print_args(self, method, args, java_params, data):

@classmethod
def _create_backtrace_symbol(cls, module_name, symbol_name):
if not symbol_name:
return "unknown"
if "+" not in symbol_name:
return module_name + "!" + symbol_name
return symbol_name
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jnitrace",
"version": "2.2.1",
"version": "2.2.2",
"description": "A tool for tracing use of the JNI in Android apps",
"private": true,
"main": "jnitrace/src/main.js",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name='jnitrace',
version='2.2.1',
version='2.2.2',
description='A tool for tracing use of the JNI in Android apps',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 1032ecd

Please sign in to comment.