Thanks for this job.
Compilation of fbdebugger, see log below.
- Some VK_[letter] seem missing. e.g. VK_A but not VK_F3.
- Structure of debug_event changed ???. Almost all the errors are related to debug_event.
- Choosefont and choosecolor. Maybe missing include.
And I have not tested the execution....
Code: Select all
D:\Laurent divers\FreeBASIC\fbc -s gui -v -maxerr 100 "FBdebugger.bas" "FBdebugger.rc"
FreeBASIC Compiler - Version 1.02.0 (01-12-2015), built for win32 (32bit)
Copyright (C) 2004-2015 The FreeBASIC development team.
standalone
target: win32, 486, 32bit
compiling: FBdebugger.bas -o FBdebugger.asm (main module)
FBdebugger.bas(3615) error 41: Variable not declared, VK_C in 'menu_option(menuedit,IDCONTHR, "Run to Cursor",VK_C)'
FBdebugger.bas(3618) error 41: Variable not declared, VK_S in 'menu_option(menuedit,IDBUTSTEP, "Next step",VK_S)'
FBdebugger.bas(3619) error 41: Variable not declared, VK_O in 'menu_option(menuedit,IDBUTSTEPP, "Step over procs",VK_O)'
FBdebugger.bas(3620) error 41: Variable not declared, VK_E in 'menu_option(menuedit,IDBUTSTEPM, "Step out current proc",VK_E)'
FBdebugger.bas(3621) error 41: Variable not declared, VK_T in 'menu_option(menuedit,IDBUTSTEPT, "Step top called proc",VK_T)'
FBdebugger.bas(3622) error 41: Variable not declared, VK_B in 'menu_option(menuedit,IDBUTSTEPB, "Step bottom current proc",VK_B)'
FBdebugger.bas(3623) error 41: Variable not declared, VK_R in 'menu_option(menuedit,IDBUTRUN, "Run",VK_R)'
FBdebugger.bas(3624) error 41: Variable not declared, VK_F in 'menu_option(menuedit,IDFASTRUN, "Fast Run",VK_F)'
FBdebugger.bas(3625) error 41: Variable not declared, VK_H in 'menu_option(menuedit,IDBUTSTOP, "Halt running debuggee",VK_H)'
FBdebugger.bas(3626) error 41: Variable not declared, VK_K in 'menu_option(menuedit,IDBUTKILL, "Kill debuggee",VK_K)'
FBdebugger.bas(3627) error 41: Variable not declared, VK_A in 'menu_option(menuedit,IDBUTAUTO, "Step auto",VK_A)'
FBdebugger.bas(3628) error 41: Variable not declared, VK_D in 'menu_option(menuedit,IDTHRDAUT, "Step auto multi threads",VK_D)'
FBdebugger.bas(3629) error 41: Variable not declared, VK_M in 'menu_option(menuedit,IDEXEMOD, "Modify execution",VK_M)'
FBdebugger.bas(3649) error 41: Variable not declared, VK_L in 'menu_option(menuedit,IDFCSSRC, "Focus lines",VK_L)'
FBdebugger.bas(9376) error 18: Element not defined, debugstring in 'If debugev.debugstring.nDebugStringLength<400 Then'
FBdebugger.bas(9376) error 8: Undefined symbol, nDebugStringLength in 'If debugev.debugstring.nDebugStringLength<400 Then'
FBdebugger.bas(9377) error 9: Expected expression, found '.' in 'leng=debugev.debugstring.nDebugStringLength'
FBdebugger.bas(9378) error 116: ELSE without IF, found 'Else' in 'Else'
FBdebugger.bas(9380) error 124: Expected 'END SUB', found 'EndIf' in 'EndIf'
FBdebugger.bas(9381) error 9: Expected expression, found '.' in 'If debugev.debugstring.fUnicode Then'
FBdebugger.bas(9381) error 8: Undefined symbol, fUnicode in 'If debugev.debugstring.fUnicode Then'
FBdebugger.bas(9382) error 9: Expected expression, found '.' in 'ReadProcessMemory(dbghand,Cast(LPCVOID,debugev.debugstring.lpDebugStringData),_'
FBdebugger.bas(9385) error 116: ELSE without IF, found 'Else' in 'Else'
FBdebugger.bas(9386) error 9: Expected expression, found '.' in 'ReadProcessMemory(dbghand,Cast(LPCVOID,debugev.debugstring.lpDebugStringData),_'
FBdebugger.bas(9389) error 124: Expected 'END SUB', found 'EndIf' in 'EndIf'
FBdebugger.bas(9415) error 18: Element not defined, Exception in 'firstchance=DebugEv.Exception.dwfirstchance'
FBdebugger.bas(9416) error 9: Expected expression, found '.' in 'adr=Cast(UInteger,DebugEv.Exception.ExceptionRecord.ExceptionAddress)'
FBdebugger.bas(9440) error 9: Expected expression, found '.' in 'Select Case (DebugEv.Exception.ExceptionRecord.ExceptionCode)'
FBdebugger.bas(9457) error 14: Expected identifier, found '.' in 'With DebugEv.Exception.ExceptionRecord'
FBdebugger.bas(9467) error 1: Argument count mismatch, found '.' in 'libel=excep_lib(DebugEv.Exception.ExceptionRecord.ExceptionCode)+Chr(13)'
FBdebugger.bas(9469) error 9: Expected expression, found '.' in 'If DebugEv.Exception.ExceptionRecord.ExceptionCode=EXCEPTION_ACCESS_VIOLATION Then'
FBdebugger.bas(9469) error 264: Symbol not a CLASS, ENUM, TYPE or UNION type, before 'ExceptionRecord' in 'If DebugEv.Exception.ExceptionRecord.ExceptionCode=EXCEPTION_ACCESS_VIOLATION Then'
FBdebugger.bas(9470) error 264: Symbol not a CLASS, ENUM, TYPE or UNION type, before 'ExceptionInformation' in 'libel+=Accviolstr(.ExceptionInformation(0))+" AT ADR : "+Str(.ExceptionInformation(1))+" / "+Hex(.ExceptionInformation(1))+Chr(13)'
FBdebugger.bas(9471) error 59: Expected 'END WITH', found 'EndIf' in 'EndIf'
FBdebugger.bas(9541) error 18: Element not defined, Createthread in 'With DebugEv.Createthread'
FBdebugger.bas(9548) error 264: Symbol not a CLASS, ENUM, TYPE or UNION type, before 'hthread' in 'threadnb+=1 :thread(threadnb).hd=.hthread:thread(threadnb).id=DebugEv.dwThreadId'
FBdebugger.bas(9549) error 264: Symbol not a CLASS, ENUM, TYPE or UNION type, before 'hthread' in 'threadcontext=.hthread'
FBdebugger.bas(9564) error 18: Element not defined, CreateProcessInfo in 'With DebugEv.CreateProcessInfo'
FBdebugger.bas(9565) error 264: Symbol not a CLASS, ENUM, TYPE or UNION type, before 'hfile' in 'dbghfile=.hfile' to close the handle and liberate the file .exe'
FBdebugger.bas(9566) error 264: Symbol not a CLASS, ENUM, TYPE or UNION type, before 'hthread' in 'threadnb=0:thread(0).hd=.hthread:thread(0).id=DebugEv.dwThreadId'
FBdebugger.bas(9567) error 264: Symbol not a CLASS, ENUM, TYPE or UNION type, before 'hthread' in 'threadcontext=.hthread'
FBdebugger.bas(9589) error 264: Symbol not a CLASS, ENUM, TYPE or UNION type, before 'lpBaseOfImage' in 'debug_extract(Cast(UInteger,.lpBaseOfImage),exename) '07/11/2013'
FBdebugger.bas(9621) error 18: Element not defined, loaddll in 'Dim loaddll As LOAD_DLL_DEBUG_INFO=DebugEv.loaddll'
FBdebugger.bas(9679) error 18: Element not defined, unloaddll in 'Dim unloaddll As UNLOAD_DLL_DEBUG_INFO =DebugEv.unloaddll'
FBdebugger.bas(11761) error 41: Variable not declared, ChooseFont in 'rc=ChooseFont(@cf)'
FBdebugger.bas(12550) error 41: Variable not declared, choosecolor in 'If choosecolor(@colch) Then 'color chosen, inverse of FBC'
Build error(s)