Questions tagged [cdb]

Use this tag if you refer to "constant database", a library and data format created by Daniel J. Bernstein. Use the [windbg] tag if you're asking about Microsoft Console Debugger.

42 questions
6
votes
3 answers

cdb - constant key-value store for large files (hundreds of GB)

I need a tool similar to cdb (constant database) that would allow me to store large sets of data (in the range of hundreds of gigabytes) in indexed files. CDB is an ideal candidate but it has a 2 GB file size limit so it's not suitable. The…
nightwatch
  • 1,276
  • 2
  • 18
  • 27
4
votes
2 answers

Can anyone explain how CDbCriteria->scopes works?

I've just checked the man page of CDbCriteria, but there is not enough info about it. This property is available since v1.1.7 and I couldn't find any help for it. Is it for dynamically changing Model->scopes "on-the-fly"?
RusAlex
  • 8,245
  • 6
  • 36
  • 44
4
votes
1 answer

Macro to make enums debugger-aware?

I am using Qt Creator 4.7.0 with Qt 5.9.2 LTS. Is there an easy way to make the debugger (GDB or CDB) aware of your own enum types without having to create a custom debugging helper (eg with a macro like maybe Q_MAKE_DEBUGGING_AWARE? So far only…
FlKo
  • 805
  • 1
  • 10
  • 27
4
votes
1 answer

Why DJ Bernstein CDB (constant database) uses 256 hashtables?

Why DJB CDB (constant database) was designed to use 256 hashtables? Why not single bigger 252 * 256 hashtable? Is it only to save space or there are some other reason?
Nick
  • 9,962
  • 4
  • 42
  • 80
3
votes
0 answers

Rxdb sync not update db

There are 3 bases (front, node, remote). Front <=> node, node <=> remote. When the front base is updated, the data goes to the remote base, but the node is not updated. In theory, the node should be updated first, and then the remote base. Render…
3
votes
1 answer

Cannot .loadby sos mscorwks or .loadby sos clr

I have a .NET .86 application. I'm trying to run dumpdomain from cdb but keep getting an error. There are a lot of questions about this, and I've tried several variations: C:\Users\d.banks\Documents>cdb DoNothingx86.exe Microsoft (R) Windows…
BanksySan
  • 27,362
  • 33
  • 117
  • 216
3
votes
2 answers

does cdb/windbg have an equivalent to autoexp.dat?

I'd like to change the way some types are displayed using either 'dt' or '??' in a manner similar to how you can do that with autoexp.dat. Is there a way to do this? For example, I have a structure something like this: struct Foo { union Bar …
aaron
  • 1,746
  • 1
  • 13
  • 24
2
votes
0 answers

Why the CDB debugger always crashed when I set breakpoints to debug in QtCreator?

My Qt version is :qt-opensource-windows-x86-msvc2013_64-5.8.0. The codes run well in release/debug mode, but I cannot debug when some breakpoints set. I struggled for several hours but still cannot figure out why the cdb always terminated... Please…
Jukaka
  • 21
  • 1
2
votes
1 answer

Python integer to read-only buffer

I am using cdb for a constant database in python. I would like to associate integer id's with some strings, and I would like to avoid storing each of these integer id's as strings, and instead store them as an integer. cdb though is looking for…
Bryan Ward
  • 6,443
  • 8
  • 37
  • 48
2
votes
0 answers

How to read from CDB (SQLite 3) database using PHP?

I want to read the data from .CDB files which seems to be a SQLite 3 database files. I want to read data and handle it using PHP. Can you please suggest me a solution for that? I tried ADOdb for PHP where the CDB format is not supporting in SQLite…
Abu Sithik
  • 287
  • 1
  • 5
  • 18
1
vote
2 answers

Storing tables into CDB or PDB?

Does it make any difference to store tables inside container database or pluggable database? I'm a new to Oracle database. I've got Enterprise edition 21. I'm just using it for testing purposes. I've googled for any kind of information, but didn't…
alexzhvv
  • 11
  • 2
1
vote
1 answer

How to set a data breakpoint on a variable address in CDB (WinDbg)

class Test { public: Test() { std::cout << "ctor" << std::endl; ptr = new int(5); *(ptr + 1) = 42; }; ~Test() { std::cout << "dtor" << std::endl; }; int* ptr; }; void foo() { Test test; } int…
Qutab Qazi
  • 131
  • 1
  • 1
  • 7
1
vote
1 answer

Issue with inspecting QJsonObject in QtCreator with CDB

Recently updated to Qt 5.15.0. But now, I see some problems displaying JSON objects in the watchlist. Found nothing while digging google last few hours. See the screenshots: Any ideas what is wrong with the settings ? Or debug helpers ? Or it is…
smacker
  • 151
  • 6
1
vote
4 answers

Windbg/cdb - Replace a slow conditional breakpoint with an in memory patch (32-bit)

Using cdb, I have following conditional breakpoint bp 004bf9f8 ".if (@eax = 0) {.echotime;.echo Breakpoint 004bf9f8;r};gc" As this is to investigate an intermittent issue, it has to stay attached for quite some time but the conditional breakpoint…
Lieven Keersmaekers
  • 57,207
  • 13
  • 112
  • 146
1
vote
1 answer

How to keep breakpoints between sessions using cdb (windbg command line)?

My goal is to keep breakpoints between debugging sessions in CDB (the command line version of windbg). I am able to correctly restart by using .restart, however I always lose my breakpoints (I am setting my breakpoints by using the bu and/or bm…
mbl
  • 805
  • 11
  • 18
1
2 3