Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
[Solved] New Proj with no code: "the debugger encountered an error msg="Warning"
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Initiaiizing records by c...
by
Molochnik
[
Today
at 11:00:21 am]
Square Fractal: A bit dif...
by
Boleeman
[
Today
at 10:47:20 am]
Lazarus character map
by
Zoran
[
Today
at 10:42:37 am]
Tpagecontrol descendant
by
dseligo
[
Today
at 10:29:02 am]
Here's some Pong game. Su...
by
Seenkao
[
Today
at 10:16:13 am]
Using WebAssemblies
by
marcov
[
Today
at 10:02:12 am]
lamw
by
dseligo
[
Today
at 09:35:00 am]
"fpc.cfg is missing" (not...
by
Thaddy
[
Today
at 08:55:31 am]
Combined pointer style
by
CM630
[
Today
at 08:49:11 am]
Fairtris 2: The Ultimate ...
by
TRon
[
Today
at 08:48:08 am]
A question on Modula2 vs ...
by
MarkMLl
[
Today
at 08:39:26 am]
Offical launch of the 1 B...
by
Thaddy
[
Today
at 08:37:40 am]
Indeed TCustomApplication...
by
Gustavo 'Gus' Carreno
[
Today
at 08:22:53 am]
[Solved] Help with sql
by
TRon
[
Today
at 08:21:18 am]
android
by
Thaddy
[
Today
at 06:10:08 am]
Hypocycloid Program (incl...
by
speter
[
Today
at 05:33:19 am]
Designer
by
SandyG
[
Today
at 03:20:24 am]
Best way to exchange data...
by
cdbc
[
Today
at 03:00:24 am]
scanline example
by
speter
[
Today
at 12:12:12 am]
Pack
by
domasz
[March 18, 2024, 10:24:35 pm]
IsManagedType problem, do...
by
PascalDragon
[March 18, 2024, 10:05:44 pm]
Conflict when static link...
by
tetrastes
[March 18, 2024, 10:05:28 pm]
Interesting discovery wit...
by
wp
[March 18, 2024, 09:11:23 pm]
Use Lazarus 3.2 with FPC ...
by
AxBen
[March 18, 2024, 08:56:42 pm]
More Normal Mode for Laza...
by
RayoGlauco
[March 18, 2024, 08:55:53 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [Solved] New Proj with no code: "the debugger encountered an error msg="Warning" (Read 2137 times)
Gald
Full Member
Posts: 107
[Solved] New Proj with no code: "the debugger encountered an error msg="Warning"
«
on:
September 28, 2021, 06:47:26 am »
This project is all empty, it was just a test of colors, but I can't run it anymore.
The only thing a did before run it again was to change a panel's color.
Some file is corrupted, maybe?
«
Last Edit: September 28, 2021, 03:41:54 pm by Gald
»
Logged
Lazarus 2.0.12 r64642 FPC 3.2.0 x86_64-win64-win32/win64/Manjaro KDE 21
AMD Ryzen 3 1300X Quad-Core Processor 3.50 GHz / 8,00 GB RAM / GTX 1500 TI / 2TB M.2 NVMe
trev
Global Moderator
Hero Member
Posts: 2020
Former Delphi 1-7, 10.2 user
Re: New Proj with no code: "the debugger encountered an error msg="Warning\nCannno"
«
Reply #1 on:
September 28, 2021, 07:00:35 am »
What versions of Windows, FPC and the Lazarus IDE are you sing?
Did you set the breakpoint which is causing the issue?
Logged
Gald
Full Member
Posts: 107
Re: New Proj with no code: "the debugger encountered an error msg="Warning\nCannno"
«
Reply #2 on:
September 28, 2021, 07:53:19 am »
Windows 10 (64) and Lazarus 2.0.12.
There is no breakpoint and I did nothing on the source editor.
It's everything on the screenshot.
Also, the program project is ok with no modifications.
Logged
Lazarus 2.0.12 r64642 FPC 3.2.0 x86_64-win64-win32/win64/Manjaro KDE 21
AMD Ryzen 3 1300X Quad-Core Processor 3.50 GHz / 8,00 GB RAM / GTX 1500 TI / 2TB M.2 NVMe
trev
Global Moderator
Hero Member
Posts: 2020
Former Delphi 1-7, 10.2 user
Re: New Proj with no code: "the debugger encountered an error msg="Warning\nCannno"
«
Reply #3 on:
September 28, 2021, 08:40:55 am »
The error suggests that a breakpoint has been set, possibly on line 43 of unit1.pas.
What happens if you choose the run the program without debugging? Lazarus > Run > Run Without debugging?
Logged
Martin_fr
Administrator
Hero Member
Posts: 9754
Debugger - SynEdit - and more
Re: New Proj with no code: "the debugger encountered an error msg="Warning\nCannno"
«
Reply #4 on:
September 28, 2021, 11:10:31 am »
43 is not the line number.
But otherwise, yes what Trev said.
Go to the "breakpoint window" and see what breakpoints you have. One of them can not be set.
This can for example happen when a breakpoint was set "by address" (eg in the asm window), and that address is no longer in the exe.
Logged
From the wiki:
Ide Tools, Code completion and more
/
IDE cool features
/
Debugger Status
Gald
Full Member
Posts: 107
Re: New Proj with no code: "the debugger encountered an error msg="Warning\nCannno"
«
Reply #5 on:
September 28, 2021, 03:40:54 pm »
Well done!
I did nothing, I swear!
Have no idea how this breakpoint is there, but by removing it, the app is running again.
Thank you both, Trev and Martin!
Logged
Lazarus 2.0.12 r64642 FPC 3.2.0 x86_64-win64-win32/win64/Manjaro KDE 21
AMD Ryzen 3 1300X Quad-Core Processor 3.50 GHz / 8,00 GB RAM / GTX 1500 TI / 2TB M.2 NVMe
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
General
»
[Solved] New Proj with no code: "the debugger encountered an error msg="Warning"
TinyPortal
© 2005-2018