Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6738443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T11:22:10+00:00 2026-05-26T11:22:10+00:00

Consider the following code: [<EntryPoint>] let main (args: string []) = let rec main

  • 0

Consider the following code:

[<EntryPoint>]
let main (args: string []) = 

  let rec main time =
    let newTime = time + 2 // place a breakpoint at this line
    main newTime

  main 0

I am not able to place a breakpoint at the marked line. I meet such problems quite often when using recursive functions and it really makes me not to use them. Is there any simple solution for that?

EDIT: I create a brand new solution and my build command looks like:

‘—— Build started: Project: ConsoleApplication4, Configuration: Debug x86 ——
C:\Program Files (x86)\Microsoft F#\v4.0\fsc.exe -o:obj\x86\Debug\ConsoleApplication4.exe -g –debug:full –noframework –define:DEBUG –define:TRACE –doc:bin\Debug\ConsoleApplication4.XML –optimize- –tailcalls- –platform:x86 -r:”C:\Program Files (x86)\Reference Assemblies\Microsoft\FSharp\2.0\Runtime\v4.0\FSharp.Core.dll” -r:”C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Client\mscorlib.dll” -r:”C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Client\System.Core.dll” -r:”C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Client\System.dll” -r:”C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\Profile\Client\System.Numerics.dll” –target:exe –warn:3 –warnaserror:76 –vserrors –LCID:1033 –utf8output –fullpaths –flaterrors “C:\Users\olsv\AppData\Local\Temp.NETFramework,Version=v4.0,Profile=Client.AssemblyAttributes.fs” Program.fs
ConsoleApplication4 -> d:\olsv\documents\visual studio 2010\Projects\ConsoleApplication4\ConsoleApplication4\bin\Debug\ConsoleApplication4.exe
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========’

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T11:22:10+00:00Added an answer on May 26, 2026 at 11:22 am

    So it looks like, that it is a bug. I have already reported it to the F# team. So lets hope that they will fix it soon!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Consider the following code: $(a).attr(disabled, disabled); In IE and FF, this will make anchors
Consider the following code snippet private void ProcessFile(string fullPath) { XmlTextReader rdr = new
Consider the following code: [Serializable] public class Human { public string Name { get;
Consider the following code: class Foo(var name: String = bar) Now i try to
Consider the following code: class CustomClass { public CustomClass(string value) { m_value = value;
Consider the following code public static void method(String[] srgs){ try{ }catch(){ System.out.println(Hello World +
Consider the following code: void Increment(int *arr) { arr++; } int main() { int
Consider the following code: #include <stdio.h> #include <ctype.h> char* Mstrupr(char* szCad); int main() {
Consider the following code to demonstrate the question: let sequence = Seq.initInfinite (fun _
This is rather interesting, I think. Consider following code, both the window.onload and body

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.