Add debugging info

Output the method and stackTrace for my new "most favourite" assertion
and continue.
This commit is contained in:
Tobias Blaschke 2014-03-02 12:58:06 +01:00 committed by Juergen Graf
parent e1fd417627
commit dc2522f937
1 changed files with 9 additions and 3 deletions

View File

@ -1378,9 +1378,15 @@ public class DexSSABuilder extends AbstractIntRegisterMachine {
* Build the IR
*/
public void build() {
solve();
if (localMap != null) {
localMap.finishLocalMap(this);
try {
solve();
if (localMap != null) {
localMap.finishLocalMap(this);
}
} catch (AssertionError e) {
System.err.println("When handling method " + method.getReference());
e.printStackTrace();
//throw e;
}
}