Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Click to edit watch items?

<< < (2/4) > >>

oBFusCATed:
Bleh, this shouldn't have been possible  :-\

dmoore:
I like the locals feature though. I just implemented it for my python debugger.

oBFusCATed:
Fixed in trunk.

For gdb's debugger locals/func args are almost unusable for real world projects (debugging c::b for example).

dmoore:
Because of speed? I noticed the C::B takes a long time to update the watch between steps, but wasn't sure that was the reason.

Performance is pretty good for python, but I only enumerate and update the children of items (including the locals item itself) if the item is expanded and I truncate long strings of data on the python end to minimize whatever bottleneck occurs when transferring long strings back to C::B. I also had to recategorize locals into functions, classes, modules, and other because everything is an object in python.

oBFusCATed:

--- Quote from: dmoore on March 11, 2014, 09:35:53 pm ---Because of speed? I noticed the C::B takes a long time to update the watch between steps, but wasn't sure that was the reason.

--- End quote ---
Yes, the PipedProcess class is very slow when there are tons of lines. This is the major bottleneck.


--- Quote from: dmoore on March 11, 2014, 09:35:53 pm ---I also had to recategorize locals into functions, classes, modules, and other because everything is an object in python.

--- End quote ---
Can you show a screen shot, by the description it sounds that it is too cluttered, but it might not be the case.
I suppose I should try your debugger. Where are the most recent sources?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version