Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Using Workbench to debug Compile[] ??

  • To: mathgroup at smc.vnet.net
  • Subject: [mg127566] Re: Using Workbench to debug Compile[] ??
  • From: W Craig Carter <ccarter at MIT.EDU>
  • Date: Sat, 4 Aug 2012 21:45:14 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <jvdffu$c5t$1@smc.vnet.net> <jvg1k4$rkl$1@smc.vnet.net> <20120804100146.BDEB2684E@smc.vnet.net>

Hello,
Sometimes, I've found this useful: (from the CompilePrint man page)

Needs["CompiledFunctionTools`"]
c = Compile[{{x}}, x^2 + Sin[x^2]];
CompilePrint[c]

W Craig Carter
Professor of Materials Science, MIT



On Aug 4, , at Sat Aug 4, 12 @6:01 AM, Axel wrote:

> No, this is just a general question.
> I want to know if it is at all possible to debug a function that is 
returned by the Compile command with the Workbench. As I see it, this is 
NOT possible because I now have bytecode and not any more Mathematica 
source code.
> I just would like to confirm this.
>
> If you know any other way to debug compiled functions please let me 
know.
>
> Thanx
>  Axel
>




  • Prev by Date: Re: Ordering an algebraic expression in Mathematica
  • Next by Date: Re: Using Workbench to debug Compile[] ??
  • Previous by thread: Re: Using Workbench to debug Compile[] ??
  • Next by thread: Re: Using Workbench to debug Compile[] ??