Questions tagged [dbx]

DBX is a source-level debugger, product of Oracle Coporation (formally Sun Microsystem) used to control the execution of a program (step by step, breakpoints, ...) and inspect the content of the memory.

111 questions
3
votes
2 answers

Memory leak in native java aplication

Hi all! I have a Native Java application in linux and i want detect memory weak. I try used Valgrind but seem that don't work fine. Then I tried to also install dbx (Oracle Studio) but it seems that is not available for Ubuntu 14.04. Is there…
Alex
  • 149
  • 2
  • 9
3
votes
6 answers

debugging C++ when compared to debugging C

HI, I am normally a C programmer. I do regularly debug C programs on unix environment using tools like gdb,dbx. i have never done debugging of big applications of C++. Is that much different from how we debug in C. theoretically i am quite good in…
Vijay
  • 65,327
  • 90
  • 227
  • 319
3
votes
4 answers

how to get as much as possible from dbx

I do TDD on a daily basis for my C++ development on Solaris10. It has greatly reduced the time I have to spend using my debugger but sometime this is the only option. DBX is pretty powerful but not that user friendly. Note that I'm talking about…
Nazgob
  • 8,502
  • 4
  • 40
  • 42
3
votes
5 answers

Error message "Incorrect values within SQLDA structure" with Firebird and Delphi 2009

I'm strugling with error message "Incorrect values within SQLDA structure" when I'm trying to update blob field within Firebird 2.1 database from Delphi 2009 DBX application. However I get the error message when I'm trying to execute TSQLQuery with…
Harriv
  • 6,029
  • 6
  • 44
  • 76
3
votes
3 answers

Firebird, which driver?

Now that I have decided upon Firebird, with the help of StackOverflow :), which driver do you recommend? Delphi's DBX Another vendor's DBX Some native driver Thanks.
Mihaela
  • 2,482
  • 3
  • 21
  • 27
2
votes
2 answers

Delphi won't let me insert rows with missing columns, but with triggers and generators for those fields

The problem is simple: I have triggers and generators in my Firebird 2.1.4 database to make a column auto increment on each insert. The architecture of the system is as follows: TSQLConnection > TSQLDataSet -> TDataSetProvider -> (DataSnap) ->…
ivarec
  • 2,542
  • 2
  • 34
  • 57
2
votes
1 answer

DBRichEdit RTF encoding lost transitioning application from BDE to DBX

My team is converting a BDE application to DBX using D2007. A TTable has been replaced with a TSQLDataSet/TDataSetProvider/TClientDataSet combination. A TStringField has been used to access the RTF in the Oracle varchar field via a TDBRichedit…
Stewart
  • 149
  • 1
  • 11
2
votes
1 answer

What is gdb/dbx doing when ddd is "waiting for it to get ready"?

I use ddd as a front-end for both gdb and dbx for C++ programs. Quite often, without any apparent cause, I will try to next and it will hang with the message "Waiting for gdb to get ready" or "Waiting for dbx to get ready". Does anybody know what it…
spraff
  • 32,570
  • 22
  • 121
  • 229
2
votes
1 answer

DBX Join two database together and filter out the result

I can write a search like this: | dbquery "DB1" "SELECT A.* AOS.* FROM Assets A JOIN AssetOSs AOS ON A.AssetOSID = AOS.AssetOSID" | append [ dbquery "DB2" "SELECT DB1A.IPAddressStr DB2M.User FROM DB1.Assets DB1A JOIN DB2.Machines DB2M ON…
2
votes
2 answers

How do you examine core files in dbx?

I'm working on AIX and have a process that keeps crashing. I've never examined core files, and would like some guidance if possible. I'm using dbx. How can I (a) make sure the core file is going where I want it to go and (b) see the state of the…
ctote
  • 21
  • 1
  • 1
  • 2
2
votes
0 answers

How to debug a core generated by a C++ binary without debug symbols on Solaris?

I know you can build an application on Linux without -g, and then later debug a corefile from the application with a binary from the same code but built with -g (all other options being the same). If the nm output is identical then the symbols match…
2
votes
1 answer

Detect memory leaks in dbx with new and delete operators

I'm very interested in using Sun Studio to detect memory leaks in C++ applications with dbx debugger but I think this debugger only shows memory leaks produced by malloc/realloc and free; I'm not sure about this but I've tried with a C++ program and…
Jonás
  • 1,459
  • 4
  • 27
  • 43
2
votes
1 answer

redirecting output of 'where' in dbx

I'm trying to get the call stacks leading to a function, func, each time it gets invoked in my executable, and I don't mind if the way to get this is slow or inefficient, so long as it's automated (because 'func' gets hit thousands of times). I have…
misterloogs
  • 53
  • 1
  • 6
2
votes
3 answers

How do you put a breakpoint on a memory location in dbx?

A co-worker has a C program that fails in a predictable manner because of some corrupted memory. He'd like to use dbx to monitor the memory location once it's allocated in order to pinpoint the code that causes the corruption. Is this possible? If…
Jon 'links in bio' Ericson
  • 20,880
  • 12
  • 98
  • 148
2
votes
2 answers

How can I execute a sql command with a blob param in dbx?

I have a TSqlDataSet which has a blob field, I need to get the data of this blob field in the BeforeUpdateRecord event of the provider and execute an update command, I've tried this: Cmd := TSQLQuery.Create(nil); try Cmd.SQLConnection :=…
Fabio Gomes
  • 5,914
  • 11
  • 61
  • 77