User forums > Help
CodeBlock skips my code on debug
ioann:
Use: Ubuntu, CodeBlocks, wxWidgeth, SQLite
Default project on wxWidgeth (About, Quit). Code (event on key press):
--- Code: ---void lllDialog::OnAbout(wxCommandEvent &event)
{
wxMessageBox(wxT("STEP 1")); // STEP 1
sqlite3 *db ;
char *errmsg;
sqlite3_open("./db", &db) ;
sqlite3_exec(db, "select * from test;", callback, NULL, &errmsg);
wxMessageBox(wxT("STEP 2")); // STEP 2
}
--- End code ---
(trying configure work with SQLite)
work out on STEP1 and 2. Everything steps no debuging on steps mode.
Any idea?
ioann:
--- Code: ---void lllDialog::OnAbout(wxCommandEvent &event)
{
wxMessageBox(wxT("STEP 1")); // STEP 1
sqlite3 *db ;
char *errmsg;
sqlite3_open("./db", &db) ;
sqlite3_exec(db, "select * from test;", callback, NULL, &errmsg);
int x= 1+2; // STEP 2
wxMessageBox(wxT("STEP 2")); // STEP 3
}
--- End code ---
oBFusCATed:
Have you read this: http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks
ioann:
--- Quote from: oBFusCATed on August 11, 2011, 08:50:36 pm ---Have you read this: http://wiki.codeblocks.org/index.php?title=Debugging_with_Code::Blocks
--- End quote ---
Than you, but this NO Work. I apply new paramerts, restart C::B, restart PC... anything. all the same no work.
may be helpful: if i run project in first time runned project handed, where i no stoped and no start he again.
ioann:
now a create new project - all the same no work.
but hanging stopped.
Navigation
[0] Message Index
[#] Next page
Go to full version