On 15 Nov 2010, at 17:23, Felipe Monteiro de Carvalho wrote: > I have this procedure: > > function errorHandler(d: PDisplay; e: PXErrorEvent): cint; cdecl; > > And I would like to set a break-point in it in GDB. Any ideas how to do that? > > break errorHandler says that it can't find the procedure ...
Uppercase it: break ERRORHANDLER. Another handy command under some circumstances is "rbreak ERRORHANDLER" (this will match every symbol containing "ERRORHANDLER"). In general, it's best to use file:line_number though. Jonas_______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
