Search

Search:

Use Regular Expressions for search

Namespace:

Search Result
.

SQDBG is a tiny C++ library to enable Squirrel remote debugging in a host application. SQDBG is ment to be used with SQDEV an "eclipse".

.

SQDBG as squirrel is distributed under zip/libpng licence. This means that can be freely used for both commercial and non-commercial software.

.

Latest Version 3.x "sqdbg_3.x_07_May_2011.zip"

.
Link
.

Latest Version 2.x "sqdbg_2_October_2005.zip"

.

SQDBG is designed to be portable and very simple to integrate with IDEs. The protocol is based on text commands VM to DEBUGGER and XML DEBUGGER to VM.

.
  • Remote debugger (The debugging portion of SQDev requires SQDbg library included in your application.)
.

// Define USE_REMOTE_DEBUGGER to use the remote debugger. See the example and docs in the sqdbg directory for

.

#pragma comment(lib,SQ_REL_PATH "lib/sqdbglibD.lib")

.

#pragma comment(lib,SQ_REL_PATH "lib/sqdbglib.lib")

.

void printSQDBGError(HSQUIRRELVM v) {

.
    printf("SQDBG error : %s",err);
.
    printf("SQDBG error",err);
.

} // printSQDBGError

.
    printf("Waiting for SQDBG connection...");
.
      printf("SQDBG: connected.\n");
.
    printSQDBGError(SquirrelVM::GetVMPtr());
.

#define SQDBG_DEBUG_HOOK T("sqdebughook_")

.
    sq_pushstring(_v,SQDBG_DEBUG_HOOK,-1);
.
    sq_pushstring(_v,SQDBG_DEBUG_HOOK,-1);
.
  • SQDBG : A remote debugger library to work with SQDEV
.