Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,093
    • Issues 2,093
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

Scheduled maintenance on the database layer will take place on 2022-07-02. We expect GitLab.com to be unavailable for up to 2 hours starting from 06:00 UTC. Kindly follow our status page for updates and read more in our blog post.

  • FPC
  • Lazarus
  • LazarusLazarus
  • Issues
  • #39278
Closed
Open
Created Jul 21, 2021 by FPC Admin account@fpc_adminOwner

2.2 RC1 Windows x64 GDB: does no longer generates output in the event log

Original Reporter info from Mantis: d7_2_laz
  • Reporter name: d7_2_laz

Description:

Martin_fr suggested to report this as here as bug,
see https://forum.lazarus.freepascal.org/index.php/topic,55443.0.html

Since 2.2 RC1 the debug helper "OutputDebugString" (windows API) does no longer generates output in the eventlog.
This had been re-added to fpdebug after the rc1. (at least on 64bit win)
Conceerns an easy to use debug helper capability that was usable upfrom Delphi 2 until Lazarus 2.0.12 / Windows, but stopped with 2.2 RC1.

As per Info of Martin_fr gdb.exe assumingly exposes the data to be shown, maybe in the IDE an option is missing to activate that.

Test:
x74 Windows application, code: OutputDebugString(Pchar('This should be shown in the eventlog'));
and check the event log.

Mantis conversion info:

  • Mantis ID: 39278
  • OS: Windows 64bit
  • Platform: Windows
  • Version: 3.2.1
  • Fixed in version: 2.2
  • Fixed in revision: r65479 (#f28b3ae2)
Assignee
Assign to
Time tracking