#8 Line number align improvement suggestion

open
nobody
None
5
2003-08-20
2003-08-20
No

During some of the debugging sessions I noticed that
JAD can move functions around. In this case just
inserting newlines in the output stream doesn't work -
functions need to be re-sorted. Please consider
replacing DebugAlignWriter.java with the version
attached to accomplish this functionality.

Discussion

  • Gene Stolarov

    Gene Stolarov - 2003-08-20

    new DebugAlignWriter version

     
  • Vladimir Grishchenko

    Logged In: YES
    user_id=281434

    Very nice, thanks a ton. Will include in one of the next
    releases. One question, is it a valid assumption than everyone
    who is using Eclipse is on 1.4?

     
  • Gene Stolarov

    Gene Stolarov - 2003-09-03

    Logged In: YES
    user_id=764909

    In a sample I attached I use regular expressions to identify
    where function starts. In a big file with a lot of functions it
    can be quite slow. Another way to do that is to use -v option
    of the JAD. It will dump out list of the functions jad
    encountered. Then this list can be parsed and used vs.
    regular expressions. This is more involved code and would
    require changes in JadDecompiler class as well as
    DebugAlignWriter. However it is noticeably faster.

     
  • Gene Stolarov

    Gene Stolarov - 2003-09-03

    Logged In: YES
    user_id=764909

    In a sample I attached I use regular expressions to identify
    where function starts. In a big file with a lot of functions it
    can be quite slow. Another way to do that is to use -v option
    of the JAD. It will dump out list of the functions jad
    encountered. Then this list can be parsed and used vs.
    regular expressions. This is more involved code and would
    require changes in JadDecompiler class as well as
    DebugAlignWriter. However it is noticeably faster.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks