Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-ui-dev] Disassembly view

Hi all!!

 

I’m using CDT 2.0.2 and facing with problem: when I build program without debug information, cursor position in Disasm view point on NEXT string not on the current one. I added “if” in “class DisassemblyEditorInput” in function “public int getInstructionLine( long address )”:

 

                                               if (!lines[i].toString().equals(""))   // added in order to correct position of cursor

                                                   ++result;

and everything works fine

 

So I have a question: have anyone seen this situation? Maybe my addings are unnecessary?....

 

 

Igor S. Zamyatin

Interstron Ltd.

http://www.interstron.ru

 


Back to the top