-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to debag? how to view the contents of the table in react-native-debugger? #549
Comments
Something inside the program would be awesome, but I don't think this repo's getting updated again anytime soon, so until then, there's SqliteStudio or any number of other GUI sqlite editors |
@MacKenzieHnC But how can this program open a database in react-native |
@valery-lavrik I don't understand the question. If you want to access the db, follow the documentation. Unless you're talking about in react-native-windows, in which case there's a hack you have to do, which I outlined here. If you wanna look through the db in-program, you'll have to write the code for that yourself. I promise I am trying to be helpful when I tell you that you have to be more thorough in how you ask programming questions or no one will be able to help you. What device are you compiling for? What have you tried? Where have you looked for answers? What is your level of experience? Is it that you don't know how to use this tool or are you unfamiliar with React Native paradigms? |
@MacKenzieHnC Good afternoon! I'm sorry that I didn't accurately describe my question. I meant react-native (android or ios). How can I visually view the contents of the table? is there such a plugin in Flipper for example? or other ways? |
To the best of my knowledge, no, not without just building the display logic yourself or some weird hack (like loading it to a variable and using your debugging tools). But there isn't anything I've found that would let you just scroll through the data directly; this repo just allows you to send SQL queries to a database. So you have the ability to scan the db, but you have to build the tools to do so yourself if you insist on doing it purely through React. I really do recommend SQLiteStudio for this function. It is extremely well-suited for this purpose; it just isn't React-based. |
Thanks! I thought so. I will write my own debugging tool |
You're welcome. Good luck! |
Everything works well. But it is very inconvenient because there is no way to visually examine the table.
Is there a way to connect some kind of debugger to the database to visualize the database?
The text was updated successfully, but these errors were encountered: