Skip to content

Runtime error, when trying to debug a single asm-file without a project #150

@snoopy78

Description

@snoopy78

When I debug a project, it works smooth, but when I try the same with a single asm file, I get the following error:

Determined D:\Software\C64\C64StudioProjekte\Test\Test.asm as active document
Running build on D:\Software\C64\C64StudioProjekte\Test\Test.asm
Build successful, 0 warnings, 0 errors encountered
Start address $C000 to $C000, size 1 bytes
Memory Map:
$C000 - $C000 - unnamed section
Compiled to file D:\Software\C64\C64StudioProjekte\Test\Test.prg, 3 bytes
Debugging D:\Software\C64\C64StudioProjekte\Test\Test.asm
An exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.
at RetroDevStudio.Debugging.ReseatBreakpoints(Project Project, FileInfo ASMFileInfo) in D:\Jenkins\workspace\C64Studio Release\C64Studio\Debugging.cs:line 214
at RetroDevStudio.Tasks.TaskCompile.DebugCompiledFile(DocumentInfo DocumentToDebug, DocumentInfo DocumentToRun) in D:\Jenkins\workspace\C64Studio Release\C64Studio\Tasks\TaskCompile.cs:line 81
at RetroDevStudio.Tasks.TaskCompile.ProcessTask() in D:\Jenkins\workspace\C64Studio Release\C64Studio\Tasks\TaskCompile.cs:line 605
at RetroDevStudio.Tasks.Task.RunTask() in D:\Jenkins\workspace\C64Studio Release\C64Studio\Tasks\Task.cs:line 51

Image

I could compile and run it without any error, but after this debug-error, I need to reopen the Studio to work on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions