English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 23 April 2020, 23:39   #1
Fireball
Registered User
 
Join Date: Jan 2019
Location: Werne
Posts: 8
Question ASM: Asm-ONE or AsmPro - how to set a breakpoint?

Hello amiga coders,

I have tried to set a breakpoint in my code (left amiga button + b) but it does not work. When I type "ad" the program stops always at the beginning of my program. When I press (left amiga button + r) in debug mode the debuger does not stop at my breakpoint aswell he jumps directly to my rts command.


Best regards

fb

Last edited by Fireball; 26 April 2020 at 21:29.
Fireball is offline  
Old 24 April 2020, 00:06   #2
StingRay
move.l #$c0ff33,throat
 
StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
Does your program kill the system (i.e. disables interrupts/DMA)?
StingRay is offline  
Old 24 April 2020, 21:16   #3
Fireball
Registered User
 
Join Date: Jan 2019
Location: Werne
Posts: 8
Hello StringRay,

first of all I have to apologise my headline is broken. I mean "ASM: Asm-ONE or AsmPro - how to set a breakpoint ?"

My program doesn't kill the system. I would like to set a breakpoint and then go through my program step by step to get some informations about variables i.e. test : dc.w 1,2,3 or registers. I don't want to start every time in line 1.

Best regards

Fb :-)
Fireball is offline  
Old 08 May 2024, 13:35   #4
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,628
Late reply, but this is one of the reasons I updated the debugger in AsmTwo.

As Stingray says, if you turn off (too many) interrupts, you will disable the OS that the debugger uses for key presses etc.

After that it's about the handover back to the Assembler window to function properly. On some KS/WB versions you may see a blank screen with the WB colors. In this case, move your mouse (blindly) to the top of the screen and click and drag down. The previous screen appears. This trick may work also with some Asm-One and AsmPro versions.

With AsmTwo, you can always debug your in-game or in-demo code, even with most (but not all) interrupts turned off.
Photon is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tool to convert asm to gnu asm (gas) Asman Coders. Asm / Hardware 13 30 December 2020 11:57
Asm-One and Amiga Forever chroma123 Coders. Asm / Hardware 14 12 March 2017 02:02
ASM Amiga includes ? majikeyric Coders. General 2 08 October 2015 17:58
A newbie to the Amiga and ASM, what approach to take? P-J Coders. General 19 18 September 2007 14:36
Attn ASM Coders: NewTek promo video for Amiga Video Toaster Pyromania Coders. General 1 02 June 2007 01:02

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 20:56.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09525 seconds with 15 queries