diff --git a/harbour/source/compiler/harbour.y b/harbour/source/compiler/harbour.y index 81be84b6f6..9f711b2a64 100644 --- a/harbour/source/compiler/harbour.y +++ b/harbour/source/compiler/harbour.y @@ -3028,6 +3028,9 @@ void GenExterns( void ) /* generates the symbols for the EXTERN names */ { PEXTERN pDelete; + if( _bDebugInfo ) + AddExtern( yy_strdup( "DEBUGGER" ) ); + while( pExterns ) { if( GetSymbol( pExterns->szName, NULL ) )