19 April 2021, 00:13 | #1 |
Registered User
Join Date: Apr 2020
Location: CHICAGO / USA
Posts: 32
|
Debugging "forked" processes
hello, i'm learning amiga asm and one of the best ways for me to learn is to step through existing code with a debugger. a number of source examples i've run into seem to "fork" themselves with _LVOCreateProc and then exit. in doing so, the debugger also exits (tried with monam and asmpro).
are there any tricks to continue execution or attach to the new process? i've had some luck with barfly's debugger attaching to an arbitrary process, but it ends up with a raw disassembly which makes it very difficult to setup breakpoints |
19 April 2021, 11:29 | #2 |
Zone Friend
Join Date: May 2006
Location: France
Posts: 1,801
|
By putting a breakpoint at the start of the code I guess.
http://amigadev.elowar.com/read/ADCD.../node028E.html |
19 April 2021, 12:05 | #3 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
|
Normally the technique is just about making the program self-detaching.
I would skip or remove the code that does the process creation and exits. |
19 April 2021, 23:01 | #4 |
Registered User
Join Date: Apr 2020
Location: CHICAGO / USA
Posts: 32
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Diabolik" & "Dylan Dog" & "Tex" & "Time Runners" series | DamienD | request.Old Rare Games | 20 | 21 July 2022 16:58 |
"Voices8" 8 Channel Soundtracker "DemoSongI" song - "This is the Amiga with 8 Voices" | DemosongIHunter | request.Music | 45 | 23 May 2022 20:07 |
"Screech!! v2.41" & "Screech!! [AGA] v2.51" - "HD install" --> "ADFs" | DamienD | request.Old Rare Games | 45 | 15 June 2020 12:42 |
"Reminder "Lincs Amiga User Group aka "LAG" Meet Sat 5th of January 2013" | rockape | News | 4 | 30 January 2013 00:06 |
CD32 Image-Name-Bug: "...(bla)[!].zip" -> "...(bla)[" / "...[test].zip" -> "...[tes" | cfTrio | support.WinUAE | 8 | 18 December 2012 16:31 |
|
|