External assembler NASM - how to get debug info integrated lazarus / 12-Debugger ---------------------------------------------------------------------- MathMan · 2016-07-29 13:45 Hi all, After reading the NASM (and some other) documentation it might be that I am asking for the impossible - but maybe I misunderstood and it is possible. Environment: FPC 3.0.0 + Lazarus 1.6.0 on Win7 (64 bit) I am using NASM for external assembler routines that I link into a Pascal framework. All working fine but as I have to use the output format win64 on NASM (which is converted to COFF) it looks like there is no way to integrate debug info into the external object file produced. This means that I am not able to single-step through the assembler routines like I used to under Linux with elf64 / dwarf. I use > NASM -f win64 LongArith.asm to produce the object file and then refering to individual functions in the Pascal framework via Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i {$link LongArith.obj}...function abc( ... some parameters ... ):QWORD;register;external name 'abc';  Is it really not possible to integrate debug Information or did I miss something? Kind regards, MathMan ---------------------------------------------------------------------- Leledumbo · 2016-07-29 13:52 try executing: Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i nasm -hand see whether you can find what you're looking for