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

autoswitch (regression) testing ?

(1/1)

cbexaminr:
What does autoswitch functionality do?

What tests should be done to verify that it is working or not (for the gdb implementation, if that matters)?

(One change I'd like to make to improve disassembly is intrusive to the processing of output from the frame command invoked by (some of?) the autoswitch implementation.  That processing is actually for handling output from breakpoints, but is being triggered by output from the frame change, and I don't know if that's intentional or not.)

oBFusCATed:
Autoswitch is useful when the debugger stops on a frame that doesn't have source/line info.
The C::B automatically switches to the first frame with valid source/line info.


--- Code: ---int main()
{
    while(1)
        sleep(10);
    return 0;
}

--- End code ---
Run this code with the debugger and hit the pause button.

Navigation

[0] Message Index

Go to full version