Menu

how to debug a dll

chiwing
2009-05-26
2012-09-26
  • chiwing

    chiwing - 2009-05-26

    dev-c seems to can't debug a dll

    i want to see some variable value in my coded dll, i have try the project option of console . but this is just for .exe not for a .dll

    how can i see some variable value in the proccess procedure?

    i have try
    printf("seem = %f", freq);
    system("PAUSE");

    but it just appear a DOS windows, and say"please press any key to continue ~ ~

    i am worrying

    thanks

     
    • chiwing

      chiwing - 2009-05-26
       
    • chiwing

      chiwing - 2009-05-26

      it seems to me that no debug method of dll of dev-c++ ~ ~

      no main() --> no debug ()~ ~

      does it?

      i have use VC2008 to debug my dll , it also occur error of access violation and no source code of the .exe

      i have an idea of debug

      actually, at the state i mention be4(system("PAUSE"); --> it means that i can interrupt the proccess

      and i click start--> run -->type "debug"-->and type "something" to see the memory=variable value

      do anyone know what is "something"?

      thanks

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.