Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

visualize db.db

 
ruilin yang
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I see the contents of the db.db ? If I can do so, it would be very helpful for me to debug my development.
Could someone help me for this matter?
Thanks
Ruilin
 
Adrian Yan
Ranch Hand
Posts: 688
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can use the code provided to you, use the function to read in the file, then output them as you wish.
You really need the readable format for you to debug the application.
 
ruilin yang
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. This is what I am doing. I thought you may have other ways to look it directly (e.g. convert it into a visuable table).
Thanks again
 
Matt DeLacey
Ranch Hand
Posts: 318
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, you know, you can look at it in a binary editor. But Adrian's right, the best thing is to get it up and running. When I first started, I spent a lot of time thinking, "If I could just see what the data LOOKS like...", but finally I opened it up in a binary editor and it looked like what I thought it would look like and ultimately that didn't tell me much of anything. Your much better off coming to the realization that the classes in the db dir are all you need to get up and running, and any questions you have about the data can be answered via class Data.
With Respect,
Matt
 
ruilin yang
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Matt,
Thanks for your comments. Could you tell me how I can get the binary editor ?
Thanks
Ruilin
 
Matt DeLacey
Ranch Hand
Posts: 318
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmmm....best I could say is try shareware.com...they're bound
to have one. I used one at my company, but it's internal use only. I'll bet shareware.com has one. You could write one in C very easily if you know C.
With Respect,
Matt
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic