News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

CodeBlock skips my code on debug

Started by ioann, August 11, 2011, 08:27:26 PM

Previous topic - Next topic

ioann

Use: Ubuntu, CodeBlocks, wxWidgeth, SQLite
Default project on wxWidgeth (About, Quit). Code (event on key press):
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
}

(trying configure work with SQLite)
work out on STEP1 and 2. Everything steps no debuging on steps mode.
Any idea?
Sorry for my poor English

ioann

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
}
Sorry for my poor English

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

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
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.
Sorry for my poor English

ioann

now a create new project - all the same no work.
but hanging stopped.
Sorry for my poor English

ioann

resolved. any errors due to poor knowledge of C + +. I spoiled the code define.
Then You all, People
Sorry for my poor English