pike.git / CHANGES

version» Context lines:

pike.git/CHANGES:84:       When using query bindings, strings are now always stored as strings;    previously, 8-bit strings were stored as binary objects (BLOBs) and    wide strings were stored as unicode strings, which caused 8-bit strings    to be unequal (and thus not returned) when used in a standard string query.       Binary values may be stored as BLOBs using bindings by wrapping the    binary string in a multiset. For example, to store the value "myBinary"    as a BLOB value using a binding, use: (<"myBinary">).    - o Debug.Peek + o Debug.Inspect       Allows for interactive debugging and live data structure inspection    in both single- and multi-threaded programs.       Example:    In the program you'd like to inspect, insert the following one-liner: -  Debug.Peek("/tmp/test.pike"); +  Debug.Inspect("/tmp/test.pike");       Then start the program and keep it running.    Next you create a /tmp/test.pike with the following content:    void create() {    werror("Only once per modification of test.pike\n");    }       int main() {    werror("This will run every iteration\n");    werror("By returning 1 here, we disable the stacktrace dumps\n");