On Wed, Aug 24, 2011 at 4:45 PM, Rob wrote:
> Hi,
>
> I have finally seen this problem again since the dynamic log level
> facility was added:
>
> nb NBDEBUG 5:addAnno!840 4 2 103/0 -1
> nb NBDEBUG 5:setDot!841 103/0
> nb NBDEBUG 0:startAtomic!842
> nb NBDEBUG 1:setReadOnly!843 F
> nb NBDEBUG 1:insert/844 40475 "break
> /usr/vobs/red/code/src/redViewDataComplex.cpp:103\nBreakpoint 2 at
> 0x7ffff7032a9a: file /usr/vobs/red/code/src/redViewDataComplex.cpp,
> line 103.\n(gdb) "
> nb NBDEBUG 1:setDot!845 40631
> nb NBDEBUG 1:setReadOnly!846 T
> nb NBDEBUG 5:setDot!847 103/0
> nb NBDEBUG 0:endAtomic!848
Hi Rob,
> I'm not too familar with NB commands but I think the 5: refers to a
> buffer number?
Yes, the first few lines of ":help netbeans-protocol" describe the
netbeans protocol and are worth reading.
Note that there is no relationship between the netbeans buffers
numbering scheme and the vim buffer numbers as given by the ":ls"
command. To confirm that the buffer you are guessing as buffer 5, is
really buffer 5: add a breakpoint to this file and check in the log
file that the 'defineAnnoType' commands have just been issued by
pyclewn to buffer 5, they should look something like:
nb NBDEBUG 5:defineAnnoType!140 0 "6" "" "3" none Cyan
nb NBDEBUG 5:defineAnnoType!141 0 "7" "" "3" none Green
In the above logs, I expect that buffer
"/usr/vobs/red/code/src/redViewDataComplex.cpp" is buffer 5 (netbeans
buffer 5), since gdb is stopping on a breakpoint in that file and
pyclewn is adding a sign to this buffer.
> In this case 5 is the buffer of the incorrect file that the sign
> appears in (should be 8). There are no buffers 0 or 1,
> (clewn)_console is buffer 2. Hope this helps.
No, according to the above log, the (clewn)_console is buffer 1, as
can be seen by pyclewn 'insert'ing the following text in buffer 1
(at line 5 of the logs):
"break /usr/vobs/red/code/src/redViewDataComplex.cpp:103\nBreakpoint
2..."
--
Xavier
Les Chemins de Lokoti: http://lokoti.alwaysdata.net
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Pyclewn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyclewn-general